0% found this document useful (0 votes)
53 views120 pages

Advantech WebAccess CNC User Manual Ed.10 FINAL

The Advantech WebAccess/CNC User Manual provides comprehensive guidance on the WebAccess/CNC solution for CNC machine monitoring, detailing its features, installation, and operation. It includes information on supported CNC types, web functions, and various connection methods, as well as a runtime and driver list for different CNC controllers. The manual aims to enhance operational efficiency through real-time data monitoring and management in industrial settings.

Uploaded by

Boopathi G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views120 pages

Advantech WebAccess CNC User Manual Ed.10 FINAL

The Advantech WebAccess/CNC User Manual provides comprehensive guidance on the WebAccess/CNC solution for CNC machine monitoring, detailing its features, installation, and operation. It includes information on supported CNC types, web functions, and various connection methods, as well as a runtime and driver list for different CNC controllers. The manual aims to enhance operational efficiency through real-time data monitoring and management in industrial settings.

Uploaded by

Boopathi G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 120

User Manual

Advantech
WebAccess/CNC

CNC Machine Monitoring


Solution
Part No. 2003WACN09 Edition 10
Printed in Taiwan December 2023

Advantech WebAccess/CNC User Manual ii


Contents
Chapter 1 Advantech WebAccess/CNC ..............1
1.1 Advantech WebAccess/CNC .................................................................... 2
1.2 Functions and Features ............................................................................ 2
1.2.1 Web Functions (Only for WebAccess/CNC runtime) .................... 2
1.2.2 Features........................................................................................ 3
1.2.3 Specifications................................................................................ 3

Chapter 2 Getting Started.....................................5


2.1 WebAccess/CNC Installation .................................................................... 6
2.2 CNC Device Setting for Using CNC Runtime............................................ 9
Figure 2.1 Device Settings for CNC Runtime .............................. 9
Figure 2.2 Add Device ............................................................... 10
Figure 2.3 Modify Device ........................................................... 10
Figure 2.4 WebAccess CNC Runtime ....................................... 11
2.3 WebAccess/CNC Explorer ...................................................................... 12
Figure 2.5 Project Selection....................................................... 12
Figure 2.6 Runtime Device Selection ........................................ 13
Figure 2.7 Driver Connection Setting......................................... 13
Figure 2.8 Device List ................................................................ 14
2.4 Start Mode and Watchdog Functions of WebAccess CNC Runtime....... 14
Figure 2.9 Set up the watchdog tool of CNC runtime in User Pro-
gram ......................................................................... 14

Chapter 3 WebAccess/CNC Runtime


Web Functions...................................15
3.1 CNC Web Functions ............................................................................... 16
3.1.1 The Overview Screen ................................................................. 16
Figure 3.1 Overview Screen ...................................................... 16
3.1.2 The Information Screen .............................................................. 17
Figure 3.2 Information Screen ................................................... 17
3.1.3 The Availability Screen ............................................................... 17
Figure 3.3 Availability Screen .................................................... 17
3.1.4 The CNC Alarm Screen .............................................................. 18
Figure 3.4 Alarm Screen............................................................ 18
3.1.5 The Program Screen................................................................... 18
Figure 3.5 Program Screen ....................................................... 18
3.1.6 The Servo Spin Screen............................................................... 19
Figure 3.6 Servo Spin Screen.................................................... 19
3.1.7 The Set Parameters Screen ....................................................... 19
Figure 3.7 Set Parameters screen............................................. 19
3.1.8 The PLC Parameters Screen...................................................... 20
Figure 3.8 PLC Parameters Screen........................................... 20
3.2 Parameters of WebAccess/CNC Webpages........................................... 20
Figure 3.9 Removing the WebAccess Title Bar ......................... 20
Table 3.1: WebAccess/CNC menu parameter definition ........... 21
Figure 3.10Available Functions When the Setting “menu=32” is Ap-
plied .......................................................................... 21
Figure 3.11Directly Access the WebAccess/CNC Device Informa-
tion Page .................................................................. 21
Table 3.2: WebAccess/CNC page parameter definition ............ 22

iii Advantech WebAccess/CNC User Manual


Chapter 4 WebAccess/CNC Runtime & Driver
List...................................................... 23
4.1 CNC Runtime API List ............................................................................ 24
Table 4.1: Supports APIs (See the SKYMARS API Manual) .... 24
4.2 CNC Runtime and CNC Driver List......................................................... 25
Table 4.2: WebAccess/CNC Driver List .................................... 25
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEID-
ENHAIN, and SIEMENS) ......................................... 26
Table 4.4: CNC Runtime Error Codes (FANUC, MITSUBISHI,
HEIDENHAIN and SIEMENS).................................. 36
Table 4.5: LNC CNC Driver Tag List ......................................... 37
Table 4.6: LNC CNC Driver Error Codes .................................. 39
Table 4.7: brother CNC Driver Tag List..................................... 39
Table 4.8: brother CNC Driver Error Codes .............................. 45
Table 4.9: FANUC CNC Driver Tag List.................................... 46
Table 4.10:FANUC CNC Driver Error Codes ............................. 53
Table 4.11:Haas CNC Driver Tag List (Haas) ............................ 53
Table 4.12:Haas CNC Driver Error Codes ................................. 54
Table 4.13:SYNTEC CNC OPC UA Driver Tag List................... 54
Table 4.14:SYNTEC CNC OPC UA Driver Error Codes ............ 55
Table 4.15:FAGOR CNC Driver Tag List ................................... 55
Table 4.16:FAGOR CNC Driver Error Codes............................. 56
Table 4.17:Roders RMS6-ERP Driver Tag List.......................... 57
Table 4.18:Roders RMS6-ERP Driver Error Codes ................... 58
Table 4.19:OKUMA Mill CNC Driver Tag List............................. 59
Table 4.20:OKUMA Lathe CNC Driver Tag List ......................... 61
Table 4.21:OKUMA CNC Driver Error Codes ............................ 62
Table 4.22:SIEMENS CNC Driver Tag List (S840D).................. 63
Table 4.23:SIEMENS CNC Driver Tag List (S828D).................. 64
Table 4.24:SIEMENS Driver Error Codes .................................. 64
Table 4.25:MITSUBISHI CNC Driver Tag List............................ 65
Table 4.26:MITSUBISHI Driver Error Codes.............................. 69
Table 4.27:KUKA Robot OPC UA Driver Tag List...................... 70
Table 4.28:KUKA Robot OPC UA Driver Error Codes ............... 73
Table 4.29:HNC CNC Driver Tag List ........................................ 73
Table 4.30:HNC CNC Driver Error Codes.................................. 75
Table 4.31:SIEMENS CNC OPC UA Driver Tag List ................. 76
Table 4.32:SIEMENS CNC OPC UA Driver Error Codes........... 79
Table 4.33:KND CNC Driver Tag List......................................... 80
Table 4.34:KND CNC Driver Error Codes .................................. 82
Table 4.35:HEIDENHAIN iTNC530 Driver Tag List (LSV2) ....... 83
Table 4.36:HEIDENHAIN TNC640 Driver Tag List (LSV2_640) 85
Table 4.37:HEIDENHAIN LSV2 Driver Error Codes .................. 87

Chapter 5 WebAccess/CNC Driver for FANUC


Robot.................................................. 89
5.1 About FANUC Robot............................................................................... 90
5.1.1 Specification ............................................................................... 90
5.2 Establish the CNC Driver for FANUC Robot........................................... 90
5.3 CNC Driver List for FANUC Robot .......................................................... 92
Table 5.1: FANUC Robot Driver Tag List (I/O).......................... 92
Table 5.2: FANUC Robot Driver Tag List (Data Table) ............. 93
Table 5.3: FANUC Robot Driver Error Codes ........................... 97

Advantech WebAccess/CNC User Manual iv


Appendix A Other Instructions .............................99
A.1 FANUC Alarm Messages of WebAccess/CNC ..................................... 100
Figure A.1 EN/TC/SC Alarm Message Files for FANUC.......... 100
Figure A.2 Default Alarm Message File Location..................... 100
Table A.1: FANUC Alarm Class List ........................................ 101
A.2 User Password and User Access Levels for SIEMENS OPC UA ......... 101
Figure A.3 SIEMENS OPC UA Configuration .......................... 101
Figure A.4 Calling the ChangeMyPassword Object ................. 102
Figure A.5 Changing the Administrator Password ................... 102
Figure A.6 Calling the AddUser Object .................................... 103
Figure A.7 Adding a New Administrator Account ..................... 103
Figure A.8 Calling the ChangeMyPassword Object ................. 104
Figure A.9 Giving Read Access to an Administrator Account .. 104
Figure A.10Giving Write Access to an Administrator Account .. 105
Figure A.11SIEMENS OPC UA Username/Password (CNC Device
Settings) ................................................................. 105
A.3 How to use DPRNT for FANUC CNC ................................................... 106
A.4 Supported CNC Functions List.............................................................. 111
Table A.2: Supported CNC Functions List -1........................... 111
Table A.3: Supported CNC Functions List -2........................... 111
Table A.4: Supported CNC Functions List -3........................... 112
Table A.5: Supported CNC Functions List -4........................... 112
Table A.6: Supported CNC Functions List -5........................... 113

v Advantech WebAccess/CNC User Manual


Advantech WebAccess/CNC User Manual vi
Chapter 1
1 Advantech
WebAccess/CNC
1.1 Advantech WebAccess/CNC
Advantech WebAccess/CNC is a core solution for network CNC devices. With its
100% web-based WebAccess/SCADA software structure, WebAccess/CNC provides
major CNC networking functions in addition to bringing the advantages of SCADA
software to the CNC market. By being able to also monitor I/O devices, WebAccess/
CNC brings to you the benefits of CNC information management and status visual-
ization. It allows you to browse SCADA web pages via Internet Explorer (IE) so that
you can monitor and capture real-time CNC data and production status information.
Your operational efficiency can thus be improved by analyzing device availability.
Advantech WebAccess/CNC is a CNC networking software application designed
specifically for the machine tool market. Through the integration of several SCADA
drivers, WebAccess/CNC supports most CNC, I/O, and PLC devices for data acquisi-
tion from factory equipment and gives you the tools you need to develop industrial
networking applications.

1.2 Functions and Features


WebAccess/CNC has two main connection methods to purchase:
 Through CNC runtime
 Using a CNC driver
WebAccess/CNC runtime supports four CNC types including FANUC, MITSUBISHI,
SIEMENS, and HEIDENHAIN and web functions.
WebAccess/CNC driver supports MTConnect communication, various CNC drivers
for FANUC, MITSUBISHI, SIEMENS, HEIDENHAIN, Haas, brother, OKUMA,
FAGOR, RODERS, LNC, SYNTEC, HNC, KND, and the robot driver for FANUC and
KUKA.

1.2.1 Web Functions (Only for WebAccess/CNC runtime)


 CNC Overview:
Provides real-time information on connection status, operation mode, CNC sta-
tus, alarm status, and availability.
 CNC Information:
Provides machine coordination information, operation information, G code, and
spindle information.
 Availability:
Provides details of CNC availability to assist with handling production efficiency
optimization.
 CNC Alarm:
Provides historical alarms from CNC records; these can be used as an import-
ant reference for machine maintenance.
 NC Program Management:
Provides a function for uploading/downloading NC files as well as an editing
interface for programming NC files.
 Set Parameters:
Provides a configuration interface for modifying coordinate compensation and
tool compensation parameters.
 Servo Spin:
Provides real-time monitoring of spindle loading for the analysis of wear or dam-
age to tools.
 PLC Parameters:
Provides an instant query interface to obtain PLC register values which facili-
tates defining the I/O status requirements of CNC controllers.

Advantech WebAccess/CNC User Manual 2


1.2.2 Features

Chapter 1
 Supports major CNC and I/O monitoring device functions.
 Supports various protocols for connecting common industrial devices and PLCs.
 100% web-based SCADA software including an HTML5 dashboard with cross-
platform compatibility.
 Provides the full functionality of WebAccess professional version.
 Upgradeable to increase the number of available CNC and robot connections.

1.2.3 Specifications

Advantech WebAccess/CNC
List of Supported CNC Controllers for WebAccess/CNC Runtime
 FANUC: 0i-A/B/C/D/F, 16i, 18i, 21i, 31i, 32i (FOCAS library requirement).
 MITSUBISHI: M700/M70, M800/M80 series.
 HEIDENHAIN: iTNC530, TNC640 (DNC optional requirement)
(The maximum number of connections for HEIDENHAIN is limited to 16 for each
instance of WebAccess/CNC runtime).
 SIEMENS: 840Dsl & 828D (OPC UA license requirement).

Note! One WebAccess CNC runtime can connect a maximum of 10 CNCs.


The number of connections depends on the WebAccess/CNC license.

List of Supported CNC and robot Controllers for WebAccess/CNC Driver


 LNC: M/T 2800/2900/5800/6800/6900/7900.
 brother:
– CNC-B00: TC-22B/31B/32BN/S2D/R2B/20B/S2DN.
– CNC-C00: S300X1/S500X1/S700X1/S1000X1/S500Z1/S700Z1/M140X1/
M140X2/R450X1/R650X1/R450Z1.
– CNC-D00: W1000Xd1/S300Xd1/S500Xd1/S700Xd1/R450Xd1/R650Xd1/
U500Xd1
 FANUC (TCPIP): 0i-A/B/C/D/F, 16i, 18i, 21i, 31i, 32i (FOCAS library is required)
 FANUC (RS232): 15, 16/18/20/21, mate D/F/H, 16i/18i/21i, mate i, 15i, 0i, 30i/
31i/32i (using DPRNT command)
 Haas: RS232 & TCPIP connection (NGC).
 SYNTEC: Software 10.116.38M(5th) later & CloudAgent V2.10.1 requirement.
 FANUC ROBOT: LR Mate 200iD, M-10iA, M-20iA, M-710iC, R-2000iC, M-
900iB, M-2000iA, M-410iC with controller R-J3iB (7D80/45, 7D81/09, 7D82/01,
7D91/01 or later), R-30iA/30iA Mate/30iB/R-30iB Plus All Versions.
 FAGOR: 806X & 807X series.
 Roders: RMS6-ERP.
 OKUMA: OSP-P200/P200A/P300 for Mill & Latch type (OSP-API requirement).
 SIEMENS: 840 Dsl, 840D, 810D & 828D (via S7/TCP protocol),
840Dsl & 828D (OPC UA license requirement).
 MITSUBISHI: M700/M70, M800/M80 series. (FCSB1224W100 runtime library
requirement).
 KUKA ROBOT: KR C4 & C5 controller (KUKA.Device Connector 2.1 OPC UA
requirement)
 HNC: HNC 8 series (HNC ServerWindow adapter is required).
 MTConnect: CNC that support MTConnect protocol.
 KND: TCPIP connection (via REST API).

3 Advantech WebAccess/CNC User Manual


 HEIDENHAIN: iTNC530, TNC640 (via LSV2 protocol).

Note! The WebAccess/CNC driver can connect more than 50 CNCs simulta-
neously. The number of connections depends on the WebAccess/CNC
license and PC performance. The WebAccess/CNC driver cannot be
used with WebAccess/CNC runtime on the same PC. We suggest that
you use different PCs to connect different CNC devices.

Multi-Language Support for WebAccess/CNC Runtime


 EN/TC/SC/JP

SCADA Software
 Advantech WebAccess 8.4 Professional or WebAccess 9.x Professional.

Project Node\SCADA Node


 Operating System:
– Windows 7 Professional SP1
– Windows 8.1 Professional
– Windows Server 2008 R2 or later
– Windows 10 (no support for Home or Home Premium)
– Microsoft .NET Framework 3.5 for WebAccess/CNC runtime
– Microsoft .NET Framework 4.5 or later
– IIS 7.5
 Minimum Hardware Requirements:
– Intel® Core™ i3 Dual-Core processor
– 4GB RAM
– 200 GB free disk space
 USB Port:
– USB port for License Hard key on SCADA node
 Browser Resolution:
– The CNC runtime web page has been optimized for resolutions from
1280x720 to 1920x1080
 Browser support:
– IE 11 for WebAccess 8.4 and Edge or Chrome for WebAccess 9.x
– For dashboard support only, use Chrome (Version 37 or later), Firefox (Ver-
sion 31 or later), or Safari (Version 7 or later)
 Dashboard Viewer
– Hardware
– PC: Intel® Core™ i3 with 4 GB RAM
– iPhone: iPhone 5
– Android: 1.5 GHz quad-core with 2 GB RAM
– Windows Phone: 1.5 GHz quad-core with 2 GB RAM
– Browser Internet Explorer: IE 11
– Chrome: Version 37
– Firefox: Version 31
– Safari: Version 7
 WebAccess APP
– Platform Environment iOS 9 and Android 4.4

Advantech WebAccess/CNC User Manual 4


Chapter 2
2 Getting Started
2.1 WebAccess/CNC Installation
Before you install WebAccess/CNC, you will need to install (1) WebAccess/SCADA
8.4.4 Professional (or later) and (2) IE 11 or later. The following screenshots will
guide you step-by-step through the process of installing WebAccess/CNC:

1. Run setup to open the WebAccess/CNC Setup Wizard.

Advantech WebAccess/CNC User Manual 6


2. Select which items you wish to install.

Chapter 2
Getting Started
3. Click Next to confirm the installation.

7 Advantech WebAccess/CNC User Manual


4. Wait for the installation process to complete.

5. Press Close to complete the installation.

After the installation has completed, a log file will be available at the following
address: C:\WebAccess\Node\WebAccessCNC\install.log

Advantech WebAccess/CNC User Manual 8


2.2 CNC Device Setting for Using CNC Runtime

Chapter 2
The CNC Device Settings screen in WebAccess/CNC is for configuring CNC run-
time network settings. From this screen, you can add, delete, and modify CNC device
settings and also start WebAccess/CNC runtime. The CNC device settings for CNC
runtime supports Fanuc, Mitsubishi, Siemens, and Heidenhain CNCs.

Open CNC Device Settings for CNC Runtime from the start menu (default: Start →
All Programs → WebAccess CNC → CNC Device Setting for CNC Runtime). The
launch screen will appear as shown in Figure 2.1.

Getting Started
Figure 2.1 Device Settings for CNC Runtime

9 Advantech WebAccess/CNC User Manual


Click Add to open the Add Device screen (Figure 2.2) or Modify to open the Modify
Device screen (Figure 2.3). Click Delete Device to delete a device. From the Add
Device screen, you can set the CNC name, CNC type, controller type, CNC IP, CNC
port, and data server settings.

Figure 2.2 Add Device

Figure 2.3 Modify Device

Advantech WebAccess/CNC User Manual 10


There are two methods for starting CNC Runtime:

Chapter 2
1. Click Start Runtime on the CNC Device Settings screen. This will enable the
CNC runtime connection between the selected CNC devices.
2. From the start menu: Start → All Programs → WebAccess CNC → Start Web-
Access CNC Runtime.

Getting Started
Figure 2.4 WebAccess CNC Runtime

Note! You can right-click on the WebAccess CNC Runtime icon in the notifica-
tion area to exit the runtime service.

The CNC runtime settings will be recorded in the corresponding path of the installa-
tion sector as "C:\XML\SkyMarsNoUISet.xml".

11 Advantech WebAccess/CNC User Manual


2.3 WebAccess/CNC Explorer
WebAccess/CNC Explorer gives you access to five main screens: Project Selection,
Runtime Device Selection, Driver Connection Setting, Start Searching, and Device
List. It provides a configuration interface displaying the supported CNC connection
parameters. You can also use this tool to automatically generate WebAccess/CNC
projects.
You can start WebAccess/CNC Explorer from the start menu (default: Start → All
Programs → WebAccessCNC → Start WebAccess CNC Explorer).

 Project Selection: This screen (Figure 2.5) allows you to set the WebAccess
project name and node name. You can create a new project or select an existing
one.

Figure 2.5 Project Selection

Advantech WebAccess/CNC User Manual 12


 Runtime Device Selection: This screen (Figure 2.6) allows you to enter the IP

Chapter 2
address and port number of WebAccess/CNC Runtime. The default port num-
ber is 9701. Note that "pmc" is the default key for both the Conn Key and the
Write Key.

Getting Started
Figure 2.6 Runtime Device Selection

 Driver Connection Setting: This screen (Figure 2.7) allows you to add the sup-
ported CNC and robot controllers. LNC controllers are supported by automatic
searching in the same network segment. You can also set the IP address of the
LNC controller manually. You will need to configure the IP address and port set-
tings of supported CNC and robot devices.

Figure 2.7 Driver Connection Setting

13 Advantech WebAccess/CNC User Manual


 Start Searching: This screen allows you to search for the new connection set-
tings from the CNC runtime and CNC driver.
 Device List: After connected CNC devices have been detected, you can submit
the selected CNC devices to automatically generate a WebAccess project. If
you click the device you want, it will be generated in this project; unclicking a
device will delete it from the current project (see Figure 2.8).

Figure 2.8 Device List

Note! If you add a search list at the runtime device selection step, the driver
connection setting step will not be an option. WebAccess/CNC runtime
cannot be used in conjunction with the WebAccess/CNC driver.

2.4 Start Mode and Watchdog Functions of


WebAccess CNC Runtime
When you start WebAccess CNC runtime after powering on, the opening sequence
of WebAccess/SCADA must start earlier than WebAccess CNC runtime. Therefore
the user can use the “User Program” function to start the CNC runtime when the
WebAccess/SCADA is started. The execution path of CNC runtime is “C:\WebAc-
cessCNC Runtime\SkyMars.exe”. It can be used to start CNC runtime automatically
in the “User Program” setting. The watchdog tool of CNC runtime can be found under
the path “C:\WebAccessCNC Runtime\” and the watchdog tool name is WDDSky-
mars.bat. You can use the watchdog tool to start the CNC runtime to keep it active as
in Figure 2.9.

Figure 2.9 Set up the watchdog tool of CNC runtime in User Program

Advantech WebAccess/CNC User Manual 14


Chapter 3
3 WebAccess/CNC
Runtime
Web Functions
3.1 CNC Web Functions
Projects created using WebAccess/CNC runtime provide seven main CNC tool func-
tions:
 Overview
 Information
 CNC alarm
 Program
 Servo spin
 Set parameters
 PLC parameters

Note! The seven CNC functions of the web pages are designed for the com-
mon functions of Fanuc, Mitsubishi, Heidenhain and Siemens CNC. The
functions are not all suitable for the each CNC types.

3.1.1 The Overview Screen


As shown in Figure 3.1, there are four CNC conditions indicated by the lamp status:
 Green: Busy
 Yellow: Idle
 Red: Alarm
 Grey: Disconnect
The other fields are defined as:
 Device Name: The CNC device name
 Main Prog: Main program
 Cur Prog: Currently executed program
 Cur Seq: Sequence of the currently executed program
 Mode: MEM/MDI/JOG/MPG(RPF)/single step/other
 Status: Start/hold
 Alarm: Normal/alarm
 EMG: Normal/EMG
 P count: Part count
 Avail. (Today): Availability rate for the current day

Figure 3.1 Overview Screen

Advantech WebAccess/CNC User Manual 16


3.1.2 The Information Screen

Chapter 3
Data monitoring allows you to monitor data from connected CNC devices in real time,
including CNC status, coordinates, G-code, non-G-code, part count, CNC operating
time, actual feed rate, and actual speed.

WebAccess/CNC Runtime Web Functions


Figure 3.2 Information Screen

3.1.3 The Availability Screen


The query tool provides details of CNC availability inquiries to assist you with han-
dling production efficiency optimization.
This availability is for reference only, and the calculation formula is as follows:
Availabiliy= (Busy time)/(Busy time + Alarm time + Idle time)

Figure 3.3 Availability Screen

17 Advantech WebAccess/CNC User Manual


3.1.4 The CNC Alarm Screen
This screen provides information on historical alarms and CNC operation records.

Figure 3.4 Alarm Screen


You can export alarm and operation in .CSV format. Note that the file will be created
in the current project folder (e.g., C:\WebAccess\Node\Project Name_Node
Name\log\Device Name).

3.1.5 The Program Screen


This screen provides a function for uploading/downloading NC files and an editing
interface for programming NC files.

Figure 3.5 Program Screen


You can download NC files from memory or a data server to a local folder under your
project (e.g., C:\WebAccess\Node\Project Name_Node Name\pgm\Device Name).
The path of the memory folder can be set by the driver tag “MNcPath.” The default
value of this tag is an empty string. Some examples of “MNcPath” are listed as fol-
lows:
FANUC: //CNC_MEM/USER/PATH1/
SIEMENS: /nckfs/_N_MPF_DIR
HEIDENHAIN iTNC530: TNC:\demo\
HEIDENHAIN TNC640: TNC:\nc_prog\demo\

Advantech WebAccess/CNC User Manual 18


3.1.6 The Servo Spin Screen

Chapter 3
This screen provides real-time monitoring information on spindle loading, which
allows you to analyze tool wear/damage.

WebAccess/CNC Runtime Web Functions


Figure 3.6 Servo Spin Screen

3.1.7 The Set Parameters Screen


This screen provides tool offset, work coordinates, and macro variable read/write
functions.

Figure 3.7 Set Parameters screen

19 Advantech WebAccess/CNC User Manual


3.1.8 The PLC Parameters Screen
WebAccess/CNC provides a PLC register query interface for obtaining information
on I/O or memory status. This function can help you to create tags for monitoring the
I/O status of CNC machines.

Figure 3.8 PLC Parameters Screen

3.2 Parameters of WebAccess/CNC Webpages


The resolution for WebAccess/CNC functions to be viewable is from 1280 x 720 to
1920 x 1080. The blue WebAccess title bar of the WebAccess/CNC functions web
page can be removed by setting the video display parameter “mode” of wacnc.drw,
as follows:
uti:../WebAccessCNC/index.asp?goto=graph=main&mode=1&hwnd=%HWND&

Figure 3.9 Removing the WebAccess Title Bar

You can set which of the nine main CNC tool screens can be viewed in addition to the
Overview screen. Which screens are viewable can be modified by setting the video
display parameter “menu” of the wacnc.drw as follows:
uti:../WebAccessCNC/index.asp?goto=graph=main&menu=32&hwnd=%HWND&

Advantech WebAccess/CNC User Manual 20


Chapter 3
Table 3.1: WebAccess/CNC menu parameter definition
“menu” value 0 2 6 32 64
Information     
Availability     
CNC Alarm     
Program     
Servo Spin     
Set Parameters     

WebAccess/CNC Runtime Web Functions


PLC Parameters     

Figure 3.10 Available Functions When the Setting “menu=32” is Applied

You can set each CNC device’s information page so that it can be accessed directly.
To do this, adjust the video display parameters “device” and “comport” in your DRW
file as follows:
uti:../WebAccessCNC/index.asp?device=CNC6&comport=1&hwnd=%HWND&

Figure 3.11 Directly Access the WebAccess/CNC Device Information Page

21 Advantech WebAccess/CNC User Manual


Each screen for the different CNC device functions can be accessed directly by set-
ting the video display parameters “page” in your DRW file as follows:
uti:../WebAccessCNC/index.asp?device=H1&comport=1&page=pro-
gram&hwnd=%HWND&
Table 3.2: WebAccess/CNC page parameter definition
Functions Page Name
Overview page=overview
Information page=info
Availability page=avail
CNC Alarm page=alarm
Program page=program
Servo Spin page=servo
Set Parameters page=parameter
PLC Parameters page=plcparameter

Advantech WebAccess/CNC User Manual 22


Chapter 4
4 WebAccess/CNC
Runtime & Driver List
4.1 CNC Runtime API List
Table 4.1 lists the third party API (SkyMars) definitions for CNC runtime.

Table 4.1: Supports APIs (See the SKYMARS API Manual)


API Description
SKY_conn_status_single Get the CNC connection status
GET_information Get basic correlation information
GET_information_heid Get basic correlation information (HEIDENHAIN controller)
GET_status Get status information
GET_position Get the coordinate status
GET_gcode Get the G-code
GET_othercode Get other codes (H, D, T, M, B, F, and S)
GET_feed_spindle Get the feed rate/spindle speed
GET_time Get the CNC system time
GET_time_heid Get the CNC system time (HEIDENHAIN controller)
GET_part_count Get the part count
GET_part_total Get the total part count
GET_part_required Get the required part count
GET_alm_current2 Get current occurring alarm
GET_msg_current Get the operation message
GET_alm_history2 Get the alarm history
GET_msg_history Get the operation history
GET_plc_alarm Get the PLC alarm history
GET_servo_current Get current loads of all spindles
GET_servo_load Get the servo load percentage (%)
GET_servo_speed Gethe servo speed
GET_spindle_load Get the percentage of spindle load (%)
GET_spindle_speed Get the spindle speed
GET_servo_temperature Get the servo motor temperature
GET_spindle_temperature Get the spindle temperature
GET_utilization_all_today Get the utilization rate data for the current day
GET_utilization_single_all Get all utilization rate data for a single machine
GET_nc_mem_list Get the NC list from the machine (memory)
Get the NC list from FTP (Fanuc Data Server/MITSUBISHI CF
GET_nc_ftp_list
card)
GET_nc_local_list (*) Get the NC list from local storage
GET_nc_mem_code Get the NC program content from memory
Get the NC program content from FTP (Fanuc Data Server/MIT-
GET_nc_ftp_code
SUBISHI CF card)
GET_nc_pointer Get the pointer (line) of the current NC
GET_nc_current_block Get the NC of the current and next block
UPLOAD_nc_mem Upload NC data to memory
Upload NC data to FTP (Fanuc Data Server/MITSUBISHI CF
UPLOAD_nc_ftp
card)
DEL_nc_mem Clear NC data from memory
Delete NC data from FTP (Fanuc Data Server/MITSUBISHI CF
DEL_nc_ftp
card)
DEL_nc_local (*) Delete NC data from local storage

Advantech WebAccess/CNC User Manual 24


Chapter 4
SET_nc_main Set or assign NC data to the main program
GET_plc_ver Get the PLC version information
GET_plc_addr2 Get the PLC address of start and end number
GET_plc_status2 Get the PLC status
GET_offset_title Get the title of the tool offset
GET_offset_all Get the offset of all tools
SET_offset_single Write the offset of a single tool
GET_macro_all Get data for all macro (common) variables
SET_macro_single Set data for a single macro (common) variable

WebAccess/CNC Runtime & Driver List


GET_TOOL_TABLE_SIE-
Get SIEMENS tool tables
MENS
GET_TOOL_EDGE_PA-
Get SIEMENS tool edge parameters
RAMETER_SIEMENS
(*): not SkyMars API

4.2 CNC Runtime and CNC Driver List

Table 4.2: WebAccess/CNC Driver List


WebAccess/ Default Block Type
Connected Device Types Driver Name
CNC Name
CNC Runtime FANUC CNC (FOCAS TCP/IP) SkyMars FANUC
CNC Runtime MITSUBISHI CNC SkyMars MIT
CNC Runtime HEIDENHAIN CNC (DNC option) SkyMars HEID
CNC Runtime SIEMENS CNC (OPC UA) SkyMars SIEMENS
CNC Driver LNC CNC (Recon Library) LNCRecon LNC
CNC Driver brother B00 CNC CncBroB0 brotherB
CNC Driver brother C00 CNC CncBroC0 brotherC
CNC Driver brother D00 CNC CncBroD0 brotherD
CNC Driver FANUC CNC (FOCAS TCP/IP) FOCAS FOCAS
CNC Driver FANUC CNC (RS232) DPRNT
CNC Driver Haas CNC (RS232 and TCP/IP) Haas HAAS
CNC Driver FANUC Robot (OPC UA) FRobot FRobot
CNC Driver FAGOR 806X/807X CNC FAGOR Fagor
CNC Driver Roders RMS6-ERP RMS6_ERP RMS6-ERP
CNC Driver OKUMA Mill CNC (OSP API) OKUMAL OKUMAL
CNC Driver OKUMA Lathe CNC (OSP API) OKUMAM OKUMAM
SIEMENS 840D/810D CNC (S7/
CNC Driver S840D S840D
TCP)
CNC Driver SIEMENS 828D CNC (S7/TCP) S828D S828D
CNC Driver MITSUBISHI CNC MitsuCNC MitsuCNC
CNC Driver KUKA Robot (OPC UA) KukaUA KukaUA
HNC CNC (Server window
CNC Driver hncsdk hncsdk
adapter)
CNC Driver SIEMENS CNC (OPC UA) SinuUA SinuUA
CNC Driver KND CNC (REST API) KND KND
HEIDENHAIN iTNC 530 CNC
CNC Driver LSV2 LSV2
(LSV2)
HEIDENHAIN TNC 640 CNC
CNC Driver LSV2_640 LSV2_640
(LSV2)

25 Advantech WebAccess/CNC User Manual


Note! You can refer to the default driver block to create a new block for your
own project needs. The advantage is that it can quickly establish the
required tags and reduce unnecessary load on communication. The
block name you create cannot be the same as the default name.

Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,


and SIEMENS)
Tag Name Address Type Description
MachName Common;20001 Text Machine name
MNcPath Common;20017 Text NC file path in memory
FNcPath Common;20018 Text NC file path in data server (FTP)
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
DEL_nc_ftp
Supports CNC: FANUC, MITSUBISHI, SIEMENS
Flag (0 ->1) from deleting a NC pro-
DelFPgm DEL_nc_ftp;10009 Discrete gram as DelFName from the data
server
Deleted (FTP server) NC program
DelFName DEL_nc_ftp;20009 Text
name (input)
DEL_nc_mem
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from deleting a NC pro-
DelMPgm DEL_nc_mem;10008 Discrete gram as DelMName from CNC
memory
Deleted (memory) NC program
DelMName DEL_nc_mem;20008 Text
name (input)
DEL_nc_local
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from deleting a NC pro-
DelLPgm DEL_nc_mem;10010 Discrete gram as DelLName from the local
disk
Deleted (local disk) NC program
DelLName DEL_nc_mem;20010 Text
name (input)
GET_alm_current2
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_alm_current2;0,Alm- Text
AlmClass Alarm class
Data,1,AlmClass (Array)
GET_alm_current2;0,Alm- Text
AlmCode Alarm code
Data,1,AlmCode (Array)
GET_alm_current2;0,Alm- Text
AlmMsg Alarm message
Data,1,AlmMsg (Array)
IsAlarm GET_alm_current2;1,IsAlarm Discrete Alarm status
GET_alm_history2
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_alm_history2;0,Alm- Text
AlmClasH History alarm class
His,1,AlmClass (Array)
GET_alm_history2;0,Alm- Text
AlmCodeH History alarm code
His,1,AlmCode (Array)

Advantech WebAccess/CNC User Manual 26


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,

Chapter 4
and SIEMENS)
GET_alm_history2;0,Alm- Text
AlmDateH History alarm date
His,1,AlmDate (Array)
GET_alm_history2;0,Alm- Text
AlmMsgH History alarm message
His,1,AlmMsg (Array)
Flag (0 ->1) from getting the history
GetHAlm GET_alm_history2;10001 Discrete alarm including AlmClasH, AlmCo-
deH, AlmDateH & AlmMsgH
GET_feed_spindle

WebAccess/CNC Runtime & Driver List


Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
ActFeed GET_feed_spindle;1,ActFeed Analog Actual feed rate
GET_feed_spindle;1,ActSpin-
ActSpin Analog Actual spindle speed
dle
OvFeed GET_feed_spindle;1,OvFeed Analog Feed override
GET_feed_spindle;1,OvSpin-
OvSpin Analog Spindle override
dle
GET_gcode
Supports CNC: FANUC, MITSUBISHI, SIEMENS
Text
GCode GET_gcode;0,gcode,1,Gdata G-code
(Array)
GET_information
Supports CNC: FANUC, MITSUBISHI, SIEMENS
Axes GET_information;1,Axes Analog Current number of axes
CncType GET_information;1,CncType Text e.g., '18' = Series 180/180i
Maximum number of axes for this
MaxAxes GET_information;1,MaxAxes Analog
CNC type
NcVer GET_information;1,Nc_Ver Text NC version
Series GET_information;1,Series Text M/T type
GET_information_heid
Supports CNC: HEIDENHAIN
Axes_H GET_information_heid;1,Axes Analog Axes (HEIDENHAIN)
FCL_H GET_information_heid;1,FCL Text FCL (HEIDENHAIN)
GET_informa-
Model_H Text Model (HEIDENHAIN)
tion_heid;1,Model
GET_informa-
NcVer_H Text NC version (HEIDENHAIN)
tion_heid;1,Nc_Ver
GET_informa-
PlcVer_H Text PLC version (HEIDENHAIN)
tion_heid;1,Plc_Ver
GET_msg_current
Supports CNC: FANUC
IsMsg GET_msg_current;1,IsMsg Discrete Message status
MsgCode GET_msg_current;1,MsgCode Text Operation message code
MsgText GET_msg_current;1,MsgText Text Operation message text
GET_msg_history
Supports CNC: FANUC
GET_msg_his- Text
MsgCodeH History operation message code
tory;0,MsgHis,1,MsgCode (Array)
GET_msg_his- Text
MsgDateH History operation message date
tory;0,MsgHis,1,MsgDate (Array)

27 Advantech WebAccess/CNC User Manual


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GET_msg_his- Text
MsgTextH History operation message text
tory;0,MsgHis,1,MsgText (Array)
Flag (0 ->1) from getting the history
GetHMsg GET_msg_history;10002 Discrete operation message including
MsgCodeH, MsgDateH & MsgTextH
GET_nc_current_block
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_nc_current_- Text Get the content of the currently run-
CurNcBlk
block;0,NcBlock,1,Block (Array) ning program blocks
GET_nc_ftp_code
Supports CNC: FANUC, MITSUBISHI, SIEMENS
Flag (0 ->1) from getting a NC pro-
GetFPgm GET_nc_ftp_code;10005 Discrete
gram as FQNc from a data server
FTP data server: NC program name
FQNc GET_nc_ftp_code;20005 Text
(input)
GET_nc_ftp_list
Supports CNC: FANUC, MITSUBISHI, SIEMENS
GET_nc_ft- Text FTP data server: NC program modi-
FNcTime
p_list;0,NcList,1,DateTime (Array) fication date
Text FTP data server: NC program file
FNcFD GET_nc_ftp_list;0,NcList,1,FD
(Array) type (file/directory)
GET_nc_ft- Text
FNcName FTP data server: NC program name
p_list;0,NcList,1,NcName (Array)
GET_nc_ft- Analog
FNcSize FTP data server: NC size (Bytes)
p_list;0,NcList,1,Size (Array)
Flag (0 ->1) from getting the NC
program list from a date server
GetFList GET_nc_ftp_list;10019 Discrete
(FTP) including FNcTime, FNcFD,
FNcName & FNcSize
GET_nc_local_list
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_nc_lo- Text Local PC: NC program modification
LNcTime
cal_list;0,NcList,1,DateTime (Array) date
GET_nc_lo- Text
LNcName Local PC: NC program name
cal_list;0,NcList,1,NcName (Array)
GET_nc_lo- Analog
LNcSize Local PC: NC size (Bytes)
cal_list;0,NcList,1,Size (Array)
Flag (0 ->1) from getting the NC
GetLList GET_nc_local_list;10017 Discrete program list from a local disk includ-
ing LNcTime, LNcName & LNcSize
GET_nc_mem_code
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from getting a NC pro-
GetMPgm GET_nc_mem_code;10004 Discrete
gram as MQNc from CNC memory
Internal memory: NC program name
MQNc GET_nc_mem_code;20004 Text
(input)
GET_nc_mem_list
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_nc_mem_list;0,NcList,1, Text Machine memory: NC program
MNcTime
DateTime (Array) modification date

Advantech WebAccess/CNC User Manual 28


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,

Chapter 4
and SIEMENS)
GET_nc_mem_list;0,NcList,1, Text Machine memory: NC program file
MNcFD
FD (Array) type (file/directory)
GET_nc_mem_list;0,NcList,1, Text Machine memory: NC program
MNcName
NcName (Array) name
GET_nc_mem_list;0,NcList,1, Text Machine memory: NC program
MNcRmk
Remark (Array) remark
GET_nc_mem_list;0,NcList,1, Analog Machine memory: NC program size
MNcSize
Size (Array) (Bytes)

WebAccess/CNC Runtime & Driver List


Flag (0 ->1) from getting the NC
program list from CNC memory
GetMList GET_nc_mem_list;10018 Discrete
including MNcTime, MNcFD, MNc-
Name, MNcRmk & MNcSize
GET_nc_pointer
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
CurNcPtr GET_nc_pointer;1,BlkPointer Analog Pointer of the current program
GET_othercode
Supports CNC: FANUC, MITSUBISHI (only B code), HEIDENHAIN (only M, F, T, S code)
SIEMENS
BCode GET_othercode;1,BCode Analog B-code
DCode GET_othercode;1,DCode Analog D-code
FCode GET_othercode;1,FCode Analog F-code
HCode GET_othercode;1,HCode Analog H-code
MCode GET_othercode;1,MCode Analog M-code
SCode GET_othercode;1,SCode Analog S-code
TCode GET_othercode;1,TCode Analog T-code
GET_part_count
Supports CNC: FANUC, MITSUBISHI, HEIDENHIAN, SIEMENS
PartCnt GET_part_count;1,PartCount Analog Part count
GET_part_required
Supports CNC: FANUC, MITSUBISHI, SIEMENS
GET_part_required;1,PartRe-
PartReq Analog Part required
quired
GET_part_total
Supports CNC: FANUC
ParTotal GET_part_total;1,PartTotal Analog Total part count
GET_plc_alarm
Supports CNC: FANUC
GET_plc_alarm;0,PlcAlm,1,Al Text
PlcAlm PLC alarm message
mMsg (Array)
GET_plc_ver
Supports CNC: FANUC, MITSUBISHI
PlcDate GET_plc_ver;1,Date Text PLC version date
PlcDesig GET_plc_ver;1,Designed Text PLC version designer
PlcVer GET_plc_ver;1,Version Text PLC version
GET_position
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Analog
AbsPos GET_position;0,PosData,1,Abs Absolute Axis Coordinate
(Array)

29 Advantech WebAccess/CNC User Manual


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GET_position;0,Pos- Text
AxisName Axis name
Data,1,AxisName (Array)
Analog
RemDist GET_position;0,PosData,1,Dist Remaining axis distance
(Array)
GET_position;0,Pos- Analog
MachPos Axis machine coordinates
Data,1,Mach (Array)
Analog
RelPos GET_position;0,PosData,1,Rel Relative axis coordinates
(Array)
GET_position;0,Pos- Text
AxisUnit Axis unit
Data,1,Unit (Array)
GET_servo_current
Supports CNC: FANUC
GET_servo_current;0,AxisCur- Analog
ServCurr Load current value of each axis
rent,1,Current (Array)
GET_servo_load
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_servo_load;1,ServoLoad-
SerLd01 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;2,ServoLoad-
SerLd02 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;3,ServoLoad-
SerLd03 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;4,ServoLoad-
SerLd04 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;5,ServoLoad-
SerLd05 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;6,ServoLoad-
SerLd06 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;7,ServoLoad-
SerLd07 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;8,ServoLoad-
SerLd08 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;9,ServoLoad-
SerLd09 Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;10,Servo-
SerLd10 Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_load;11,Servo-
SerLd11 Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_load;12,Servo-
SerLd12 Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_speed
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_servo_speed;0,Servo- Analog
ServSped Servo shaft speed
LoadPercent,1,Speed (Array)
GET_servo_temperature
Supports CNC: FANUC, HEIDENHAIN, SIEMENS
GET_servo_tempera-
Analog
ServTemp ture;0,Temperature,1,Axis- Servo motor temperature
(Array)
Temp
GET_spindle_load

Advantech WebAccess/CNC User Manual 30


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,

Chapter 4
and SIEMENS)
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
SpinLoad GET_spindle_load;1,Load Analog Spindle load (%)
GET_spindle_speed
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
SpinSped GET_spindle_speed;1,Speed Analog Spindle speed
GET_spindle_temperature
Supports CNC: FANUC, HEIDENHAIN, SIEMENS

WebAccess/CNC Runtime & Driver List


GET_spindle_tempera-
SpinTmp1 Analog Temperature of Spindle 1
ture;1,Spindle_1_Temp
GET_spindle_tempera-
SpinTmp2 Analog Temperature of Spindle 2
ture;1,Spindle_2_Temp
GET_status
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Alarm GET_status;1,Alarm Text Alarm
CNC Status (e.g., “STOP”,
NcStatus GET_status;1,CncStatus Text
“START”)
CurPgm GET_status;1,CurProg Text Current program
CurSeq GET_status;1,CurSeq Analog Sequence of the current program
Emg GET_status;1,Emg Text EMG
MainPgm GET_status;1,MainProg Text Main program
Mode GET_status;1,Mode Text e.g., “MDI”, “MEM”
GET_time
Supports CNC: FANUC, MITSUBISHI, SIEMENS
CutHour GET_time;1,Cutting,1,Hour Analog Cutting time (hours)
CutMin GET_time;1,Cutting,1,Minuite Analog Cutting time (minutes)
CutSec GET_time;1,Cutting,1,Second Analog Cutting time (seconds)
CycHour GET_time;1,Cycle,1,Hour Analog Cycle time (hours)
CycMin GET_time;1,Cycle,1,Minuite Analog Cycle time (minutes)
CycSec GET_time;1,Cycle,1,Second Analog Cycle time (seconds)
OperHour GET_time;1,Operation,1,Hour Analog Operation time (hours)
GET_time;1,Operation,1,Minu-
OperMin Analog Operation time (minutes)
ite
GET_time;1,Operation,1,Sec-
OperSec Analog Operation time (seconds)
ond
PowHour GET_time;1,Power,1,Hour Analog Power time (hours)
PowMin GET_time;1,Power,1,Minuite Analog Power time (minutes)
PowSec GET_time;1,Power,1,Second Analog Power time (seconds)
GET_time_heid
Supports CNC: HEIDENHAIN
GET_-
Machine run time (hours) (HEIDEN-
RunHour_H time_heid;1,MachineRun- Analog
HAIN)
ning,1,Hour
GET_-
Machine run time (minutes) (HEID-
RunMin_H time_heid;1,MachineRun- Analog
ENHAIN)
ning,1,Minuite
GET_- Machine up time (hours) (HEIDEN-
UpHour_H Analog
time_heid;1,MachineUp,1,Hour HAIN)

31 Advantech WebAccess/CNC User Manual


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GET_-
Machine up time (minutes) (HEID-
UpMin_H time_heid;1,MachineUp,1,Minu Analog
ENHAIN)
ite
GET_- NC up time (hours)
NUpHour_H Analog
time_heid;1,NcUp,1,Hour (HEIDENHAIN)
GET_- NC up time (minutes)
NUpMin_H Analog
time_heid;1,NcUp,1,Minuite (HEIDENHAIN)
SRun- GET_time_heid;1,SpindleRun- Spindle running time (hours) (HEID-
Analog
Hour_H ning,1,Hour ENHAIN)
GET_time_heid;1,SpindleRun- Spindle running time (minutes)
SRunMin_H Analog
ning,1,Minuite (HEIDENHAIN)
GET_utilization_all_today
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_utilization_all_to- Today machine availability: total
UtiAAlm Analog
day;0,Util,1,AlarmTotal abnormal time (hours)
GET_utilization_all_to- Machine availability for the current
UtiABusy Analog
day;0,Util,1,BusyTotal day: total busy time (hours)
GET_utilization_all_to- Machine availability for the current
UtiAIdle Analog
day;0,Util,1,IdleTotal day: total idle time (hours)
GET_utilization_all_to- Machine availability for the current
UtiAOff Analog
day;0,Util,1,OffTotal day: total off time (hours)
GET_utilization_all_to- Machine availability for the current
UtiAPTCnt Analog
day;0,Util,1,PartTotal day: total number of workpieces
Machine availability for the current
GET_utilization_all_to-
UtiACyc Analog day: total number of processing
day;0,Util,1,CycleTotal
cycles
GET_utilization_single_all
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from getting utilization
single by the time setting UtiQST &
GET_utilization_sin-
GetUtiS Discrete UtiQET including UtiAlarm, Uti-
gle_all;10003
Busy, UtiCycle, UtiIdle, UtiOff &
UtiPTCnt
Single machine availability: query
GET_utilization_sin-
UtiQST Text start time. Format is YYYY-MM-dd
gle_all;20002
HH:mm:ss (input)
Single machine availability: query
GET_utilization_sin-
UtiQET Text end time. Format is
gle_all;20003
YYYY-MM-dd HH:mm:ss (input)
GET_utilization_sin- Single machine availability: total
UtiAlarm Analog
gle_all;1,Util,1,AlarmTotal alarm time (hours)
GET_utilization_sin- Single machine availability: total
UtiBusy Analog
gle_all;1,Util,1,BusyTotal busy time (hours)
GET_utilization_sin- Single machine availability: total idle
UtiIdle Analog
gle_all;1,Util,1,IdleTotal time (hours)
GET_utilization_sin- Single machine availability: total off
UtiOff Analog
gle_all;1,Util,1,OffTotal time (hours)
GET_utilization_sin- Analog Single machine availability: number
UtiPCnt
gle_all;0,UtilList,1,PartCount (Array) of workpieces
GET_utilization_sin- Single machine availability: total
UtiCycle Analog
gle_all;1,Util,1,CycleTotal number of processing cycles

Advantech WebAccess/CNC User Manual 32


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,

Chapter 4
and SIEMENS)
GET_utilization_sin- Text Single machine availability: status
UtiStatu
gle_all;0,UtilList,1,Status (Array) (OFF, IDLE, ALARM, BUSY)
GET_utilization_sin- Text Single machine availability: start
UtiSTime
gle_all;0,UtilList,1,StDateTime (Array) time
GET_utilization_sin-
Text Single machine availability: end
UtiETime gle_all;0,UtilList,1,EndDate-
(Array) time
Time
GET_utilization_sin- Analog Single machine availability: total

WebAccess/CNC Runtime & Driver List


UtiTTime
gle_all;0,UtilList,1,TotalTime (Array) time
GET_utilization_sin- Analog Single machine availability: number
UtiPCnt
gle_all;0,UtilList,1,PartCount (Array) of workpieces
GET_utilization_sin- Text Single machine availability: NC pro-
UtiNcPgm
gle_all;0,UtilList,1,NcName (Array) gram name
GET_utilization_sin- Text Single machine availability: alarm
UtiAlmM
gle_all;0,UtilList,1,Alarm (Array) number and information
SET_nc_main
Supports CNC: FANUC, SIEMENS
Flag (0 ->1) from setting a the main
SetMain SET_nc_main;10011 Discrete
program as SetMainN
Set an NC program name as the
SetMainN SET_nc_main;20011 Text
main program (input)
SKY_conn_status_single
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
CNC connection status
SKY_conn_status_sin- 0: DISCONNECT
Status gle;1,SKY_conn_status_sin- Discrete 1: RUN (only for MEM mode)
gle,1,Status 2: IDLE
3: ALARM
UPLOAD_nc_ftp
Supports CNC: FANUC, MITSUBISHI, SIEMENS
Flag (0 ->1) from uploading a NC
UpFPgm UPLOAD_nc_ftp;10007 Discrete
program as UpFNc to a data server
The FTP server upload: NC pro-
UpFNc UPLOAD_nc_ftp;20007 Text
gram name (input)
UPLOAD_nc_mem
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from uploading a NC
UpMPgm UPLOAD_nc_mem;10006 Discrete program as UpMNc to CNC mem-
ory
Memory upload: NC program name
UpMNc UPLOAD_nc_mem;20006 Text
(input)
GET_offset_title
Supports CNC: FANUC, MITSUBISHI
GET_offset_title;0,Off-
OffTitle Text Tool offset title
set,1,Title
Flag (0 ->1) from getting a tool off-
GetOTitle GET_offset_title;10012 Discrete
set's title as OffTitle
GET_offset_all
Supports CNC: FANUC, MITSUBISHI

33 Advantech WebAccess/CNC User Manual


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Analog
Offset01 GET_offset_all;0,Offset,1,C0 Tool offset value (Column 1)
(Array)
Analog
Offset02 GET_offset_all;0,Offset,1,C1 Tool offset value (Column 2)
(Array)
Analog
Offset03 GET_offset_all;0,Offset,1,C2 Tool offset value (Column 3)
(Array)
Analog
Offset04 GET_offset_all;0,Offset,1,C3 Tool offset value (Column 4)
(Array)
Flag (0 ->1) from getting all tool off-
GetOData GET_offset_all;10013 Discrete set data including Offset01, Off-
set02, Offset03, Offset04 and etc.
SET_offset_single
Supports CNC: FANUC, MITSUBISHI
SetONum SET_offset_single;20012 Analog The number of offset data (input)
Analog
SetOVal SET_offset_single;20013 The values offset data (input)
(Array)
Flag (0 ->1) from setting the offset
SetOData SET_offset_single;10014 Discrete
data including SetONum & SetOVal
GET_macro_all
Supports CNC: FANUC, MITSUBISHI,SIEMENS
GET_mac- Analog
MacNum The number of macro data
ro_all;0,Macro,1,MacroNumber (Array)
GET_mac- Analog
MacData Macro data
ro_all;0,Macro,1,MacroData (Array)
Flag (0 ->1) from getting all macro
GetMacro GET_macro_all;10015 Discrete
data including MacNum & MacData
SET_macro_single
Supports CNC: FANUC, MITSUBISHI
SetMacNo SET_macro_single;20014 Analog The number of data (input)
SetMacro SET_macro_single;20015 Analog The values of macro data (input)
Flag (0 ->1) from setting the macro
SetMData SET_macro_single;10016 Discrete data including SetMacNo & Set-
Macro
GET_tool_table_siemens
Supports CNC: SIEMENS
GET_tool_table_sie-
Analog The number of tools in memory
ToolMemNo mens;0,ToolData;1;ToolMem-
(Array) (SIEMENS)
eryNO
GET_tool_table_sie- Analog
The position of tool table in memory
ToolPlace
mens;0,ToolData;1;ToolPlace (Array)
(SIEMENS)
GET_tool_table_sie- Text The name of a tool in memory
ToolName
mens;0,ToolData;1,ToolName (Array) (SIEMENS)
GET_tool_table_sie- Analog The edge count of a tool
EdgeCnt
mens;0,ToolData;1,EdgeCount (Array) (SIEMENS)
Flag (0 ->1) from getting the tool
GET_tool_table_sie- data (SIEMENS) including Tool-
GetTool Discrete
mens;10020 MemNo, ToolPlace, ToolName &
EdgeCnt
GET_tool_edge_parameter_siemens
Supports CNC: SIEMENS

Advantech WebAccess/CNC User Manual 34


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,

Chapter 4
and SIEMENS)
GET_tool_edge_parame-
Analog The parameter number of first tool
Edge1PNo ter_siemens;1,EdgeData,0,
(Array) edge (SIEMENS)
ParmaData,1,ParamNO
GET_tool_edge_parame-
ter_siemens;1,Edge- Analog The parameter value of first tool
Edge1PV
Data,0,ParmaData,1,Param- (Array) edge (SIEMENS)
Value
GET_tool_edge_parame-
Analog The parameter number of second

WebAccess/CNC Runtime & Driver List


Edge2PNo ter_siemens;2,Edge-
(Array) tool edge (SIEMENS)
Data,0,ParmaData,1,ParamNO
GET_tool_edge_parame-
Analog The parameter number of third tool
Edge3PNo ter_siemens;3,Edge-
(Array) edge (SIEMENS)
Data,0,ParmaData,1,ParamNO
GET_tool_edge_parame- The number of tool in memory (SIE-
ToolQMNo Analog
ter_siemens;20016 MENS) (Input)
Flag (0 ->1) from getting tool edge
GET_tool_edge_parame- parameters including Edge1PNo,
GetTEP Discrete
ter_siemens;10021 Edge2PNo, Edge3PNo &
ToolQMNo
GET_plc_status2/SET_plc_status2_adv
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN
Type of PLC status data
Discrete address:
(0:byte FANUC:
1:short G, F, Y, X, A, R, T, K, C, D, E
GET_plc_status2;1,PlcSta-
2:int MITSUBISHI:
PlcType tus,1,PlcType;M,N (M:
3:bool X, Y, M, F, L, SM, D, R, W, B, SB,V,
address, N: PLC number)
4:double SW, SD
5:string HEIDENHAIN:
6:sbyte) M, B, W, D, I, O, T, C, S, IB, IW, ID,
OB, OW, OD
The data of PLC status data
GET_plc_status2;1,PlcSta- PlcDataStr: PLC data(text) for all
Analog
PlcData tus,1,PlcDataStr;M,N (M: type including
(default)
address, N: PLC number) Byte, Short, Int, Bool, Double,
String, Sbyte
GET_plc_status2_Siemens/SET_plc_status2_Siemens
Supports CNC: SIEMENS
Discrete
(0:byte The type of PLC status data (SIE-
GET_plc_status2_Sie- 1:short MENS)
mens;1,PlcSta- 2:int Address:
PlcType
tus,1,PlcType;M,N (M: 3:bool SIEMENS:
address, N: PLC number) 4:double I/IB/ID/IW/M/MB/MD/MM/Q/QB/QD/
5:string QW/T/DB
6:sbyte)
The data of PLC status data (SIE-
GET_plc_status2_Sie- MENS)
mens;1,PlcStatus,1,Plc- Analog PlcDataStr: PLC data(text) for all
PlcDataS
DataStr;M,N (M: address, N: (default) type including
PLC number) Byte, Short, Int, Bool, Double,
String, Sbyte
GET_param_data
Supports CNC: FANUC, MITSUBISHI

35 Advantech WebAccess/CNC User Manual


Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GET_param_data;1,Param-
ParaData Text System parameter data
Data,0,ParamDataStr;1

Table 4.4: CNC Runtime Error Codes (FANUC, MITSUBISHI,


HEIDENHAIN and SIEMENS)
Error Code Error Types Description
The function has timed out; modify the register
*[fffc] Plug-In Time out (-20) value (FANUC only) if you want to extend the time
out
*[ffed] SkyMars Busy (-19) SkyMars is running
*[ffee] Not Supports (-18) The function is not Supports for this controller
Data from the Ethernet board is incorrect. Please
*[ffef] Protocol error (-17)
check the Ethernet settings
Examine the CNC power supply, Ethernet cable,
*[fff0] Socket error (-16)
and I/F board
There is no DLL file for each CNC series corre-
*[fff1] DLL file error (-15)
sponding to the specified node
Handle number error (-
*[fff8] Get the library handle number
8)
Version mismatch The CNC/PMC version does not match the library
*[fff9] between the CNC/PMC version. Replace the library or CNC/PMC control
and library (-7) software
Abnormal library state (- An exception error has occurred with the executed
*[fffa]
6) library
Reset or stop request (- The RESET or STOP button was pressed. Call the
*[fffd]
2) termination function
*[fffe] CNC Busy (-1) Wait until after CNC processing or retry
WebAccess/CNC run-
*[8000] Check whether WebAccess/CNC runtime is running
time is offline.
Error(function is not exe- A specific function that should have been called has
*[8001] cuted, or not available) not been executed; otherwise, the function is not
(1) available
Error(data block length
Check and correct the data block length or number
*[8002] error, error of number of
of data
data) (2)
Error(data number error)
*[8003] Check and correct the data number
(3)
Error(data attribute
*[8004] Check and correct the data attribute
error) (4)
*[8005] Error(data error) (5) Check and correct the write data
*[8006] Error(no option) (6) There is no corresponding CNC option
Error(write protection)
*[8007] Write operation prohibited
(7)
Error(memory overflow)
*[8008] CNC tape memory overflow has occurred
(8)
Error(CNC parameter
*[8009] CNC parameter is incorrect
error) (9)
Error(buffer empty/full)
*[800a] The buffer is empty or full
(10)

Advantech WebAccess/CNC User Manual 36


Table 4.4: CNC Runtime Error Codes (FANUC, MITSUBISHI,

Chapter 4
HEIDENHAIN and SIEMENS)
Error(path number error)
*[800b] A path number is incorrect
(11)
Error(CNC mode error)
*[800c] The CNC mode is incorrect; correct the CNC mode
(12)
Error(CNC execution CNC execution rejected. Check the condition of
*[800d]
rejection) (13) execution.
Error(Data server error)
*[800e] An error has occurred no the data server
(14)

WebAccess/CNC Runtime & Driver List


The function cannot be executed because of a CNC
*[800f] Error(alarm) (15)
alarm. Remove the cause of alarm.
*[8010] Error(stop) (16) CNC status is “stop” or “emergency.”
Error(State of data pro-
*[8011] Data protected by the CNC data protection function
tection) (17)
Error(Not found Machine Please check the connected CNC status or disable
*[8012]
ID) (18) this CNC connection.
*[8013] Error(No out) (19) Please check the error number
*[8014] Error(Password) (20) Incorrect password
*[8015] Error(Compatible) (21) Version compatibility problem

Table 4.5: LNC CNC Driver Tag List


LNC provides the ReCon library to connect with CNC/robot controllers. There are six types of
controller registers: R, C, S, A, I, O. The common registers are as follows:
Tag Name Address Type Description
Analog
AbsPos R83000 Absolute position (Axis 1~32)
(Array)
DCode R3006220 Analog D-code
FastFwdP R17000 Analog Quick override(%)
FCode R3006196 Analog F-code
FedRateP R17001 Analog Feed rate override (%)
FeedRate R82066 Analog Feed rate
Analog
G54P1 R3094352 G54P1 Code (Axis 1~32)
(Array)
Analog
GCode00 R3094000 G00 Code (Axis 1~32)
(Array)
Analog
GCode54 R3094032 G54 Code (Axis 1~32)
(Array)
Analog
GCode55 R3094064 G55 Code (Axis 1~32)
(Array)
Analog
GCode56 R3094096 G56 Code (Axis 1~32)
(Array)
Analog
GCode57 R3094128 G57 Code (Axis 1~32)
(Array)
Analog
GCode58 R3094160 G58 Code (Axis 1~32)
(Array)
Analog
GCode59 R00001 G59 Code (Axis 1~32)
(Array)
HCode R3006219 Analog H-code
Analog
MachPos R83064 The machine position (Axis 1~32)
(Array)

37 Advantech WebAccess/CNC User Manual


Table 4.5: LNC CNC Driver Tag List
Analog
MCode R3006197 M-code
(Array)
NCode R3006218 Analog N-code
PartCnt R17019 Analog Part count
Analog
ParTotal R140018 Part total count
(Array)
PartSet C0027 Analog Part count setting
Analog
RelPos R83032 Relative position (Axis 1~32)
(Array)
Analog
SCode R3006207 S-code
(Array)
Analog
SCodeNum R3006202 The number of S-code
(Array)
SpinSpdR R11370 Analog Spindle speed override (%)
SpinSped R83138 Analog Spindle speed
TCode R3006212 Analog T-code
Status
0: Not Ready
1: Ready
Status R17003 Discrete
2: Cycle Start
3: Stop
4: Hold
Operation mode
0: MEM
1: MDI
OperMode R22000 Discrete 2: ZRN
3: MPG
4: JOG
5: INC JOG
Machine type
0: Milling
1: Lathe
MachType R60000 Discrete
2: Manipulator
3: Punch
4: Automation
The minimal unit of system com-
mand
0: 1μm
SysUnit R69001 Discrete
1: 10μm
2: 0.1μm
3: 0.01μm
The type of system unit
UnitType R69042 Discrete 0: Metric
1: Imperial
IsFinish S0027 Discrete Part count is finished or not
Part count is arrived at the total
IsArrive S0098 Discrete
count or not
IsMsg S3001 Discrete Exists warning message or not
IsAlarm S3000 Discrete Exists alarm or not
Text
AlmMsg R1790010-31;40 The alarm message
(Array)
Text
AlmNo R1790001-4;40 The number of message
(Array)

Advantech WebAccess/CNC User Manual 38


Table 4.5: LNC CNC Driver Tag List

Chapter 4
Text
AlmTime R1790005-5,40 The time of alarm message
(Array)
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM

WebAccess/CNC Runtime & Driver List


Table 4.6: LNC CNC Driver Error Codes
Error Code Error Types Description
System error (driver not
*[ffff] ReCon lib driver is not loaded
loaded)
*[8000] Device is offline Check LNC device is alive or not
0x8001 RunExeFail Failed to run exe file
0x8002 WrongTagAddress The tag address is wrong
0x8003 MapFail Internal error
0x8004 Init Initialization failed
0x8101 LibInitFail Library initialization failed
0x8102 ConnectCmdFail Connection command failed
0x8103 NoConnection No connection
0x8104 ReadTimeout Read timeout

Table 4.7: brother CNC Driver Tag List


Tag Name Address Type Description
Text
AlarmCur 01:0000:E01:00000 Current alarm array (for C00, D00)
(Array)
PCCounA1 01:0001:A01:00000 Analog PCounter A01 count value (NC)
PCCurA1 01:0001:A01:00001 Analog PCounter A01 current value (NC)
PCTarA1 01:0001:A01:00002 Analog PCounter A01 target value (NC)
PCNoteA1 01:0001:A01:00003 Analog PCounter A01 notice value (NC)
PCCounA2 01:0001:A02:00000 Analog PCounter A02 count value (NC)
PCCurA2 01:0001:A02:00001 Analog PCounter A02 current value (NC)
PCTarA2 01:0001:A02:00002 Analog PCounter A02 target value (NC)
PCNoteA2 01:0001:A02:00003 Analog PCounter A02 notice value (NC)
PCCounA3 01:0001:A03:00000 Analog PCounter A03 count value (NC)
PCCurA3 01:0001:A03:00001 Analog PCounter A03 current value (NC)
PCTarA3 01:0001:A03:00002 Analog PCounter A03 target value (NC)
PCNoteA3 01:0001:A03:00003 Analog PCounter A03 notice value (NC)
PCCounA4 01:0001:A04:00000 Analog PCounter A04 count value (NC)
PCCurA4 01:0001:A04:00001 Analog PCounter A04 current value (NC)
PCTarA4 01:0001:A04:00002 Analog PCounter A04 target value (NC)
PCNoteA4 01:0001:A04:00003 Analog PCounter A04 notice value (NC)
PCCounB1 01:0001:B01:00000 Analog PCounter B01 count value (Conversation)
PCCurB1 01:0001:B01:00001 Analog PCounter B01 current value (Conversation)
PCTarB1 01:0001:B01:00002 Analog PCounter B01 target value (Conversation)
PCNoteB1 01:0001:B01:00003 Analog PCounter B01 notice value (Conversation)

39 Advantech WebAccess/CNC User Manual


Table 4.7: brother CNC Driver Tag List
PCCounB2 01:0001:B02:00000 Analog PCounter B02 count value (Conversation)
PCCurB2 01:0001:B02:00001 Analog PCounter B02 current value (Conversation)
PCTarB2 01:0001:B02:00002 Analog PCounter B02 target value (Conversation)
PCNoteB2 01:0001:B02:00003 Analog PCounter B02 notice value (Conversation)
PCCounB3 01:0001:B03:00000 Analog PCounter B03 count value (Conversation)
PCCurAB3 01:0001:B03:00001 Analog PCounter B03 current value (Conversation)
PCTarB3 01:0001:B03:00002 Analog PCounter B03 target value (Conversation)
PCNoteB3 01:0001:B03:00003 Analog PCounter B03 notice value (Conversation)
PCCounB4 01:0001:B04:00000 Analog PCounter B04 count value (Conversation)
PCCurB4 01:0001:B04:00001 Analog PCounter B04 current value (Conversation)
PCTarB4 01:0001:B04:00002 Analog PCounter B04 target value (Conversation)
PCNoteB4 01:0001:B04:00003 Analog PCounter B04 notice value (Conversation)
Machine state (for B00, C00)
0:Power off,
1:Stand by,
MState 01:0002:C01:1 Discrete
2:Running,
3:Stopped,
4:Error
ErrCode 01:0002:C01:3:eno Text Machine error code (for B00, C00)
RunProg 01:0002:C01:3:pno Text Running program number (for B00, C00)
Machine state (for D00)
0:Power off,
1:Stand by,
MStateD 01:0012:C01:1 Discrete
2:Running,
3:Stopped,
4:Error
ErrCodeD 01:0002:C01:3:eno Text Machine error code (for D00)
RunProgD 01:0002:C01:3:pno Text Running program number (for D00)
Text
Gcode 01:0004:G01:00000 G code array
(array)
Text
Mcode 01:0004:M01:00000 M code array
(Array)
Analog
PosMac 01:0004:P01:00000 Machine axis position array
(Array)
Analog
PosRel 01:0004:P02:00000 Relative axis position array
(Array)
Analog
PosAbs 01:0004:P03:00000 Absolute axis position array
(Array)
Analog
PosRem 01:0004:P04:00000 Remain axis position array
(Array)
ActFeed 01:0004:X01:00000 Analog Actual feedrate
ActSpin 01:0004:X01:00001 Analog Actual spindle speed
Inner workbench
InnerWbS 01:0004:X01:00002 Discrete 0:QT Uninstall, 1:Workbench1,
2:Workbench2
TLNo 01:0004:X01:00003 Text Spindle tool number
TLName 99:0011:XX:00000 Text Current tool name
TLNoNext 01:0004:X01:00004 Text Next tool number
TLSlotNo 01:0004:X01:00005 Text Tool slot number
Door Interlock status
DoorInLk 01:0004:X01:00006 Discrete
0: OFF, 1: ON

Advantech WebAccess/CNC User Manual 40


Table 4.7: brother CNC Driver Tag List

Chapter 4
Outdoor status
DoorOut 01:0004:X01:00007 Discrete
0:Close, 1:Open
Inner door status
DoorInne 01:0004:X01:00008 Discrete
0:Close, 1:Open
Side door status
DoorSide 01:0004:X01:00009 Discrete
0:Close, 1:Open
Quickoverride
0: speed1,
1: speed2,

WebAccess/CNC Runtime & Driver List


OvQuick 01:0004:X01:00010 Analog 2: speed3,
3: speed4 ,
4: 100%,
5: 0%
OvFeed 01:0004:X01:00011 Analog Feed override(%)
OvSpin 01:0004:X01:00012 Analog Spindle override(%)
Mcr500 01:0007:C500:00000 Analog Macro 500 value (R/W)
Analog
Mcr500A 01:0007:Cxxx:00000 Macro 500-999 array (R/W)
(Array)
Operation mode
Mode 01:0008:K01:00000 Discrete 0:Manual, 1:MDI, 2:MEM, 3:Program Edit
4:MDI Manual, 5:Operation
Monitor status (Monitor.extvt0)
0:Shutdown,
1:Alarm,
2:Database,
3:ATC
Monitor 01:0008:K01:00001 Analog 4:Program,
5:Manual,
6:Postion,
7:I/O
8:Monitor,
9:Graphic
Skip the program
Progskip 01:0008:K01:00002 Discrete
0: OFF, 1: ON
Choose to stop
ChooStop 01:0008:K01:00003 Discrete
0: OFF, 1: ON
Empty operation
EmptyOp 01:0008:K01:00005 Discrete
0: OFF, 1: ON
Machine lock
Mlock 01:0008:K01:00006 Discrete
0: OFF, 1: ON
Cooler pump
CoolPump 01:0008:K01:00007 Discrete
0: OFF, 1: ON
Flush
Flush 01:0008:K01:00008 Discrete
0: OFF, 1: ON
Machine light
Light 01:0008:K01:00009 Discrete
0: OFF, 1: ON
Workbench choose
WBChoose 01:0008:K01:00010 Discrete
0: OFF, 1: ON, 1:1, 2:2, 3:1-2
Emergency
Emergen 01:0008:S01:00003 Discrete
0: OFF, 1: ON
Data lock
Datalock 01:0008:S01:00005 Discrete
0:Enable, 1:Disable
Mtype 01:0009:M01:00000 Text Machine Type

41 Advantech WebAccess/CNC User Manual


Table 4.7: brother CNC Driver Tag List
MAC 01:0009:S01:00000 Text Machine ID
Version 01:0009:V01:00000 Text Machine version
Flag (0 ->1) from getting the alarm log includ-
GetAlmF 99:0000:XX:00000 Discrete
ing GetAlmC & GetAlmD
Text
GetAlmC 99:0001:XX:00000 Get alarm log code array
(Array)
Text
GetAlmD 99:0002:XX:00000 Get alarm log date array
(Array)
Flag (0 ->1) from getting the tool info includ-
TolnmF 99:0003:XX:00000 Discrete ing T01 & Txx (LnOff, LnWCp, DiCp, DiWCp,
LfIni, LfNot, LfCur & Name)
T01LnOff 99:0005:T01:00000 Analog 1st tool length offset
T01LnWCp 99:0005:T01:00001 Analog 1st tool length wear compensation
T01DiCp 99:0005:T01:00002 Analog 1st tool diameter compensation
T01DiWCp 99:0005:T01:00003 Analog 1st tool diameter wear compensation
T01LfIni 99:0005:T01:00005 Analog 1st tool initial life
T01LfNot 99:0005:T01:00006 Analog 1st tool notice life
T01LfCur 99:0005:T01:00007 Analog 1st tool current life
T01Name 99:0005:T01:00008 Text 1st tool name
Analog
TxxLnOff 99:0005:TXX:00000 All tool length offset by array
(Array)
Analog
TxxLnWCp 99:0005:TXX:00001 All tool length wear compensation by array
(Array)
Analog
TxxDiCp 99:0005:TXX:00002 All tool diameter compensation by array
(Array)
Analog All tool diameter wear compensation by
TxxDiWCp 99:0005:TXX:00003
(Array) array
Analog
TxxLfIni 99:0005:TXX:00005 All tool initial life by array
(Array)
Analog
TxxLfNot 99:0005:TXX:00006 All tool notice life by array
(Array)
Analog
TxxLfCur 99:0005:TXX:00007 All tool current life by array
(Array)
Text
TxxName 99:0005:TXX:00008 All tool name by array
(Array)
Flag (0 ->1) from getting the postion info
PosnmF 99:0004:XX:00000 Discrete including work coordinate G54~G59, GEXT
& G5401~G5448
Analog
WCG54 99:0006:G54:00000 Work coordinate G54
(Array)
Analog
WCG55 99:0006:G55:00000 Work coordinate G55
(Array)
Analog
WCG56 99:0006:G56:00000 Work coordinate G56
(Array)
Analog
WCG57 99:0006:G57:00000 Work coordinate G57
(Array)
Analog
WCG58 99:0006:G58:00000 Work coordinate G58
(Array)
Analog
WCG59 99:0006:G59:00000 Work coordinate G59
(Array)

Advantech WebAccess/CNC User Manual 42


Table 4.7: brother CNC Driver Tag List

Chapter 4
Analog
WCGEXT 99:0006:H01:00000 Work coordinate extension
(Array)
Analog
WCG5401 99:0006:X01:00000 Work coordinate G54.01
(Array)
Analog
WCG5402 99:0006:X02:00000 Work coordinate G54.02
(Array)
Analog
WCG5403 99:0006:X03:00000 Work coordinate G54.03
(Array)
Analog

WebAccess/CNC Runtime & Driver List


WCG5404 99:0006:X04:00000 Work coordinate G54.04
(Array)
Analog
WCG5405 99:0006:X05:00000 Work coordinate G54.05
(Array)
Analog
WCG5406 99:0006:X06:00000 Work coordinate G54.06
(Array)
Analog
WCG5407 99:0006:X07:00000 Work coordinate G54.07
(Array)
Analog
WCG5408 99:0006:X08:00000 Work coordinate G54.08
(Array)
Analog
WCG5409 99:0006:X09:00000 Work coordinate G54.09
(Array)
Analog
WCG5410 99:0006:X10:00000 Work coordinate G54.10
(Array)
Analog
WCG5411 99:0006:X11:00000 Work coordinate G54.11
(Array)
Analog
WCG5412 99:0006:X12:00000 Work coordinate G54.12
(Array)
Analog
WCG5413 99:0006:X13:00000 Work coordinate G54.13
(Array)
Analog
WCG5414 99:0006:X14:00000 Work coordinate G54.14
(Array)
Analog
WCG5415 99:0006:X15:00000 Work coordinate G54.15
(Array)
Analog
WCG5416 99:0006:X16:00000 Work coordinate G54.16
(Array)
Analog
WCG5417 99:0006:X17:00000 Work coordinate G54.17
(Array)
Analog
WCG5418 99:0006:X18:00000 Work coordinate G54.18
(Array)
Analog
WCG5419 99:0006:X19:00000 Work coordinate G54.19
(Array)
Analog
WCG5420 99:0006:X20:00000 Work coordinate G54.20
(Array)
Analog
WCG5421 99:0006:X21:00000 Work coordinate G54.21
(Array)
Analog
WCG5422 99:0006:X22:00000 Work coordinate G54.22
(Array)
Analog
WCG5423 99:0006:X23:00000 Work coordinate G54.23
(Array)
Analog
WCG5424 99:0006:X24:00000 Work coordinate G54.24
(Array)
Analog
WCG5425 99:0006:X25:00000 Work coordinate G54.25
(Array)

43 Advantech WebAccess/CNC User Manual


Table 4.7: brother CNC Driver Tag List
Analog
WCG5426 99:0006:X26:00000 Work coordinate G54.26
(Array)
Analog
WCG5427 99:0006:X27:00000 Work coordinate G54.27
(Array)
Analog
WCG5428 99:0006:X28:00000 Work coordinate G54.28
(Array)
Analog
WCG5429 99:0006:X29:00000 Work coordinate G54.29
(Array)
Analog
WCG5430 99:0006:X30:00000 Work coordinate G54.30
(Array)
Analog
WCG5431 99:0006:X31:00000 Work coordinate G54.31
(Array)
Analog
WCG5432 99:0006:X32:00000 Work coordinate G54.32
(Array)
Analog
WCG5433 99:0006:X33:00000 Work coordinate G54.33
(Array)
Analog
WCG5434 99:0006:X34:00000 Work coordinate G54.34
(Array)
Analog
WCG5435 99:0006:X35:00000 Work coordinate G54.35
(Array)
Analog
WCG5436 99:0006:X36:00000 Work coordinate G54.36
(Array)
Analog
WCG5437 99:0006:X37:00000 Work coordinate G54.37
(Array)
Analog
WCG5438 99:0006:X38:00000 Work coordinate G54.38
(Array)
Analog
WCG5439 99:0006:X39:00000 Work coordinate G54.39
(Array)
Analog
WCG5440 99:0006:X40:00000 Work coordinate G54.40
(Array)
Analog
WCG5441 99:0006:X41:00000 Work coordinate G54.41
(Array)
Analog
WCG5442 99:0006:X42:00000 Work coordinate G54.42
(Array)
Analog
WCG5443 99:0006:X43:00000 Work coordinate G54.43
(Array)
Analog
WCG5444 99:0006:X44:00000 Work coordinate G54.44
(Array)
Analog
WCG5445 99:0006:X45:00000 Work coordinate G54.45
(Array)
Analog
WCG5446 99:0006:X46:00000 Work coordinate G54.46
(Array)
Analog
WCG5447 99:0006:X47:00000 Work coordinate G54.47
(Array)
Analog
WCG5448 99:0006:X48:00000 Work coordinate G54.48
(Array)
Flag (0 ->1) from getting the time data includ-
TimeFlag 99:0009:XX:00000 Discrete
ing TimeAOP, TimePow, TimeOP
TimeAOP 99:0010:T01:00000 Analog Total operation time
TimePow 99:0010:T01:00001 Analog Power on time
TimeOP 99:0010:T01:00002 Analog Operation time

Advantech WebAccess/CNC User Manual 44


Table 4.7: brother CNC Driver Tag List

Chapter 4
Cycle time (L01:00000 or L01:00002) (for
TimeCyc 01:0011:L01:00002 Analog
C00)
TimeCut 01:0011:L01:00003 Analog Cut time (L01:00001 or L01:00003) (for C00)
Cycle time (L01:00000 or L01:00002) (for
TimeCycD 01:0013:L01:00000 Analog
D00)
TimeCutD 01:0013:L01:00001 Analog Cut time (L01:00001 or L01:00003) (for D00)
03:0000:rmk:00000: Get the remark content of the NC file accord-
curncrmk Text
(keywords) ing to the keywords

WebAccess/CNC Runtime & Driver List


Text Get the content of the currently running pro-
curncblk 03:0000:blk:00000
(Array) gram blocks
reddate 03:0001:XX:00000 Text Get date & time (for C00, D00)
08:0000:XX:00000:TO Get/Write the external I/O by the signal name
IOsignal Discrete
OL as “TOOL”
03:0002:XX:00000:BX Get PLC signal by the signal type and num-
redplcd Analog
,3FF ber as “BX” & “3FF”

Table 4.8: brother CNC Driver Error Codes


Error Code Error Types Description
No available data for this
*[8000] Check the address of this tag
tag now
Address of this tag is not
*[8010] Check the first two parts of the address of this tag
legal
*[8001]~
Internal error
[8004]
No available data for this
*[8100] Get the value after trig the relative flag
tag now
*[8200] No connection now Check the connection status
*[8404] No support function Check the CNC setting and communication package
No available data for this The communication is abnormal and the driver is
*[9000]
tag now trying to reconnect to the device

45 Advantech WebAccess/CNC User Manual


Table 4.9: FANUC CNC Driver Tag List
Tag Name Address Type Description
posabs_0 posabs_0 Analog Read 1st absolute position information
posmac_0 posmac_0 Analog Read 1st machine position information
posrel_0 posrel_0 Analog Read 1st relative position information
posdis_0 posdis_0 Analog Read 1st distance to go information
Analog
posabsar posabsar Read all absolute position information by array
(Array)
Analog
posmacar posmacar Read all machine position information by array
(Array)
Analog
posrelar posrelar Read all relative position information by array
(Array)
Analog
posdisar posdisar Read all distance to go information by array
(Array)
T/M mode selection
tmmode tmmode Discrete 0: T mode
1: M mode
Status of automatic operation
0: ****(reset)
1: STOP
2: HOLD
ncstatus ncstatus Discrete
3: START
4: MSTR (during retraction and re-positioning of
tool retraction and recovery, and operation of
JOG MDI)
Status of alarm (alarmsta.extvt0)
0: ***(Others)
1: Alarm
2: Battery low
3: FAN(NC or Servo amplifier)
alarmsta alarmsta Analog
4: PS Warning
5: FSSB warning
6: Insulate warning
7: Encoder warning
8: PMC alarm
Status of emergency
0: (Not emergency)
emergen emergen Discrete 1: Emergency
2: Reset
3: Wait(FS35i only)
Status of axis
0: ***
axissta axissta Discrete
1: Motion
2: Dwell

Advantech WebAccess/CNC User Manual 46


Table 4.9: FANUC CNC Driver Tag List

Chapter 4
AUTOMATIC/MANUAL mode selection
(mode.extvt0)
0: MDI
1: Memory
2: ****
3: EDIT
mode mode Analog 4: Handle
5: JOG
6: Teach in JOG
7: Teach in Handle

WebAccess/CNC Runtime & Driver List


8: INC feed
9: Reference
10: Remote
axismax axismax Analog Maximum controlled axes
cnctype cnctype Text Type of CNC
mttype mttype Text Type of M/T
series series Text Series number of CNC
version version Text Version number of CNC
addinfo addinfo Analog Read additional information
axescur axescur Analog Current controlled axes
actfeed actfeed Analog Read actual axis feed rate(F)
actspin actspin Analog Read actual spindle speed(S)
ovfeed ovfeed Analog Read feed rate override
ovspin ovspin Analog Read spindle speed override
mainprog mainprog Text Read main program number (modal O number)
Read currently program number (modal O num-
runprog runprog Text
ber)
Read the currently sequence number of the NC
runseq runseq Text
program(Nxxxx)
progname progname Text Read the program name being executed.
Status of alarm
isalarm isalarm Discrete 0: No alarm
1: Alarm
Text
almclass almclass Read the alarm status of CNC
(Array)
Text
almcode almcode Read the alarm code
(Array)
Text
almmsg almmsg Read the alarm message
(Array)
Flag (0 ->1) from getting a history alarm includ-
gethalm gethalm Discrete
ing almclash, almcodeh, almdateh & almmsgh
Analog Read history alarm class
almclash almclash
(Array) Only for CNC Series 30i, 0i-D/F
Analog
almcodeh almcodeh Read history alarm code
(Array)
Text
almdateh almdateh Read history alarm date
(Array)
Text
almmsgh almmsgh Read history alarm message
(Array)
Read full path name of the program
pathname pathname Text
Only for CNC Series 30i, 0i-D/F

47 Advantech WebAccess/CNC User Manual


Table 4.9: FANUC CNC Driver Tag List
Text
axisname axisname Read axis name
(Array)
Text
axisunit axisunit Read unit of position data
(Array)
Text
gcode gcode Read all data of G code at a time
(Array)
hcode hcode Analog Read data of H code at a time
fcode fcode Analog Read data of F code at a time
tcode tcode Analog Read data of T code at a time
dcode dcode Analog Read data of D code at a time
scode scode Analog Read data of S code at a time
mcode mcode Analog Read data of M code at a time
regprg regprg Analog Number of registered programs
unregprg unregprg Analog Number of available programs
usemem usemem Analog Character number of used memory
unusemem unusemem Analog Read the management data already registered
ptotal ptotal Analog Read total part count
prequired prequired Analog Read required part count
pcount pcount Analog Read part count
powhour powhour Analog Read power time (hours)
powmin powmin Analog Read power time (minutes)
cuthour cuthour Analog Read cutting time (hours)
cutmin cutmin Analog Read cutting time (minutes)
cutsec cutsec Analog Read cutting time (seconds)
cychour cychour Analog Read cycle time (hours)
cycmin cycmin Analog Read cycle time (minutes)
cycsec cycsec Analog Read cycle time (seconds)
operhour operhour Analog Read operation time (hours)
opermin opermin Analog Read operation time (minutes)
opersec opersec Analog Read operation time (seconds)
sysyear sysyear Analog Read system (calendar) time (year)
sysmonth sysmonth Analog Read system (calendar) time (month)
sysdate sysdate Analog Read system (calendar) time (date)
syshour syshour Analog Read system (calendar) time (hours)
sysmin sysmin Analog Read system (calendar) time (minutes)
syssec syssec Analog Read system (calendar) time (seconds)
Analog
servcurr servcurr Read real current for servo adjustment
(Array)
Analog Read servo load current (Ampere unit)
servampe servampe
(Array) Only for CNC Series 30i, 0i-D/F
Analog
servsped servsped Read real speed for servo adjustment
(Array)
Analog
motosped motosped Read the spindle motor speed
(Array)
spinsped spinsped Analog Read the spindle speed
Analog
servload servload Read servo load meter (%)
(Array)
Analog
spinload spinload Read spindle load meter (%)
(Array)

Advantech WebAccess/CNC User Manual 48


Table 4.9: FANUC CNC Driver Tag List

Chapter 4
Analog
servtemp servtemp Read servo temperature
(Array)
Analog
spintemp spintemp Read spindle temperature
(Array)
Flag (0 ->1) from getting macro variables includ-
getmacro getmacro Discrete
ing macdata & macnum & macdata2
Analog
macdata macdata Read custom macro data
(Array)
Analog

WebAccess/CNC Runtime & Driver List


macdata2 macdatabyindex Read the macro data of the macro number
(Array)
Analog
macnum macnum Read custom macro number
(Array)
Flag (0 ->1) from setting a macro variable
setmacro setmacro Discrete
including setmdata & setmacno
setmdata setmdata Analog Set custom macro data
setmacno setmacno Analog Set custom macro number
Flag (0 ->1) from getting a history operation
gethmsg gethmsg Discrete message including msgcodeh, msgdateh &
msgtexth
Text
msgcodeh msgcodeh Read history operation message code
(Array)
Text
msgdateh msgdateh Read history operation message date
(Array)
Text
msgtexth msgtexth Read history operation message text
(Array)
Flag (0 ->1) from getting all work coordinates
getwcord getwcord Discrete
including EXT & G54~G59
Analog
wc_ext wc_ext Read EXT work coordinates data
(Array)
Analog
wc_g54 wc_g54 Read G54 work coordinates data
(Array)
Analog
wc_g55 wc_g55 Read G55 work coordinates data
(Array)
Analog
wc_g56 wc_g56 Read G56 work coordinates data
(Array)
Analog
wc_g57 wc_g57 Read G57 work coordinates data
(Array)
Analog
wc_g58 wc_g58 Read G58 work coordinates data
(Array)
Analog
wc_g59 wc_g59 Read G59 work coordinates data
(Array)
Flag (0 ->1) from getting all tool offset data
getodata getodata Discrete including offtitle, offset_0, offset_1, offset_2,
offset_3, offset_4, offset_5, offset_6 & offset_7
setodata setodata Discrete Flag (0->1) from setting all tool offset data
Text
offtitle offtitle Reads tool offset's title
(Array)
Analog
offset_0 offset_0 Read tool offset value (Column 0)
(Array)
Analog
offset_1 offset_1 Read tool offset value (Column 1)
(Array)

49 Advantech WebAccess/CNC User Manual


Table 4.9: FANUC CNC Driver Tag List
Analog
offset_2 offset_2 Read tool offset value (Column 2)
(Array)
Analog
offset_3 offset_3 Read tool offset value (Column 3)
(Array)
Analog
offset_4 offset_4 Read tool offset value (Column 4)
(Array)
Analog
offset_5 offset_5 Read tool offset value. (Column 5)
(Array)
Analog
offset_6 offset_6 Read tool offset value. (Column 6)
(Array)
Analog
offset_7 offset_7 Read tool offset value (Column 7)
(Array)
Analog
offset_8 offset_8 Read tool offset value (Column 8)
(Array)
Read/write the PLC data of the specified PMC
address
t: type (G, F, Y, X, A, R, T, K, C, D, M, N, E, Z)
a: address
d: data type
0: byte type
1: word type
2: long type
plc_ta plc_ta_d Analog
4: 32 bit floating point type (30i-B series/0i-F/
PMi-A only)
5: 64 bit floating point type (30i-B series/0i-F/
PMi-A only)
Please modify the correct start bit and length in
the tag's attribute according to the data type as
Tag name: plc_g9_1 (G9.1)
Address: plc_g9_0
blkpoint blkpoint Analog Read the actual execution pointer
Flag (0 ->1) from setting a main program as set-
setmain setmain Discrete
mainn
Set a NC program name as the main program
setmainn setmainn Text (input)
Only for CNC Series 30i, 0i-D/F
compound addinfo Discrete Compound machining function
iseries addinfo Discrete i Series
transfer addinfo Discrete Transfer line function
loader addinfo Discrete Loader control function
model addinfo Discrete Model information only for 0i-D/F
Flag (0 ->1) from getting the NC program list
getmlist getmlist Discrete from CNC memory including mnctime, mnc-
name, mncsize & mncrmk
Text Read NC program modification date from CNC
mnctime mnctime
(Array) memory
Text
mncname mncname Read NC program name from CNC memory
(Array)
Analog Read NC program size (Bytes) from CNC mem-
mncsize mncsize
(Array) ory
mncrmk mncrmk Text Read NC program remark

Advantech WebAccess/CNC User Manual 50


Table 4.9: FANUC CNC Driver Tag List

Chapter 4
Flag (0 ->1) from uploading a NC program as
upmpgm upmpgm Discrete upmnc to CNC memory accoring to the destina-
tion directory as upmncdir
upmnc upmnc Text The upload file name of a NC program (input)
The destination directory for an uploaded NC
upmncdir upmncdir Text
program (input)
Flag (0 ->1) from getting a NC program as mqnc
getmpgm getmpgm Discrete
from CNC memory
NC program name or the name with the path

WebAccess/CNC Runtime & Driver List


from memory(input).
mqnc mqnc Text EX 1: O1234 or SAMPLE
EX 2: //CNC_MEM/USER/PATH1/O1111
EX 3: //CNC_MEM/USER/PATH2/O2222
Flag (0->1) from deleting a NC program as
delmpgm delmpgm Discrete
delpgm from CNC memory
The deleted (CNC memory) NC program name
delmname delmname Text
(input)
Flag (0 ->1) from getting the NC program list
getllist getllist Discrete from the local disk incluing lnctime, lncname &
lncsize
Text
lnctime lnctime Read NC program modification date
(Array)
Text
lncname lncname Read NC program name
(Array)
Analog
lncsize lncsize Read NC program size (Bytes)
(Array)
Flag (0->1) from deleting a NC program as dell-
dellpgm dellpgm Discrete
pgm from the local disk
The deleted (local disk) NC program name
dellname dellname Text
(input)
Get the content of the currently running pro-
curncblk curncblk Text
gram blocks
curncptr curncptr Analog Pointer of the current program
msgcode msgcode Analog Operation message code
ismsg ismsg Discrete Message status
Macro System Variable: Number of Parts (R/W).
prtsa macsysdata.3901 Analog Both common variable (#100,..,#999) and sys-
tem variable (#1000,..,#9999) are supported.
Macro System Variable: Number of Required
Parts (R/W). Both common variable
prtsn macsysdata.3902 Analog
(#100,..,#999) and system variable
(#1000,..,#9999) are supported.
userrmk- Read the remark content of the NC file accord-
userrmk Text
keywords ing to the keywords
Read runprog's comment (getmlist=1 must be
runrmk runrmk Text
executed first if any files changed in memory )
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM
path_no path_no Analog Path number of multi-path (R/W)
getCR getCR Discrete Flag (0 -> 1) from getting corner R (Series 30i)

51 Advantech WebAccess/CNC User Manual


Table 4.9: FANUC CNC Driver Tag List
offtiCR offtiCR Text Reads corner R's title
Analog
offCR_0 offCR_0 Reads corner R value (Column 0)
(Array)
Analog
offCR_1 offCR_1 Reads corner R value (Column 1)
(Array)
geto1g2 geto1g2 Discrete Flag (0 -> 1) from getting second geometry
offti1g2 offti1g2 Text Reads second geometry's title
Analog
off1g2_0 off1g2_0 Read second geometry value (Column 0)
(Array)
Analog
off1g2_1 off1g2_1 Read second geometry value (Column 1)
(Array)
Analog
off1g2_2 off1g2_2 Read second geometry value (Column 2)
(Array)
Flag (0 -> 1) from getting 2nd coord.'s 2nd
geto2g2 geto2g2 Discrete
geometry (Series 30i)
offti2g2 offti2g2 Text Reads 2nd coord.'s 2nd geometry's title
Analog Reads 2nd coord.'s 2nd geometry value (Col-
off2g2_0 off2g2_0
(Array) umn 0)
Analog Reads 2nd coord.'s 2nd geometry value (Col-
off2g2_1 off2g2_1
(Array) umn 1)
Analog Reads 2nd coord.'s 2nd geometry value (Col-
off2g2_2 off2g2_2
(Array) umn 2)
TG1_LT TG1_LT Discrete Life type of tool group1 (R/W)
TG1_LS TG1_LS Analog Life setting value of tool group1 (R/W)
TG1_CT TG1_CT Analog Life counter of tool group1 (R/W)
TG1_TN TG1_TN Analog Total tool number of tool group1
Discrete
TG1_ST TG1_ST State of tool group1
(Array)
Analog
TG1_TC TG1_TC T code of tool group1
(Array)
Analog
TG1_HC TG1_HC H code of tool group1
(Array)
Analog
TG1_DC TG1_DC D code of tool group1
(Array)
Flag (0 ->1) from getting a history operation
gethisop gethisop Discrete record file at the relative folder as ../Project
name_Node name/pgm/Device name/

Advantech WebAccess/CNC User Manual 52


Chapter 4
Table 4.10: FANUC CNC Driver Error Codes
Error Code Error Types Description
Data tag is empty as a result of specific tag has not
*[80a0] The tag value is empty
written to 1 yet
Examine the CNC power supply, Ethernet cable,
*[8016] Socket error
and I/F board
Data from Ethernet
*[8017] Check the Ethernet board setting
Board is incorrect

WebAccess/CNC Runtime & Driver List


Specific function that must be executed beforehand
Not executed or not
*[8001] has not been executed; otherwise, that function is
available
unavailable
*[8006] No option There is no corresponding CNC option
*[8012] CNC mode error Correct the CNC mode
Please legally obtain the files: fwlibe1.dll &
*[e000] No focas library files
fwlib32.dll and put dll files in "webaccess/node/.."
Q Code Error Types Description
7EEE Array size error Array size does not match

Table 4.11: Haas CNC Driver Tag List (Haas)


Tag Name Address Type Description
SN Q100 Text Machine serial number
Version Q101 Text Control software version
MN Q102 Text Machine model number
Mode Q104 Text Mode (LIST, PROG, MDI, MEM, etc.)
ToolChs Q200 Analog Tool changes (Total)
ToolNum Q201 Analog Tool number in use
TimePow Q300 Text Power on time (Total)
TimeMot Q301 Text Motion time (Total)
TimeLCy Q303 Text Last cycle time
TimePCy Q304 Text Previous cycle time
PCount1 Q402 Analog M30 parts counter #1 (Reset at Control)
PCount2 Q403 Analog M30 parts counter #2 (Reset at Control)
RunProg Q500.1 Text Running program number
Machine status
Status Q500.2 Text
IDLE/BUSY/ALARM ON
Parts Q500.4 Analog Total parts counter
Mac001 Q600 1 Analog Macro #1 (ex: #1~#33)
Mac10000 Q600 10000 Analog Macro #10000 (ex: #10000~#10999)
Spinload Q600 1098 Analog Spindle load
Spinsped Q600 3027 Analog Spindle speed
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM
Note: When the user need to get the correct MASTATUS, Q301 must be configured
and the sampling time is larger than the change of Q301's second counter.

53 Advantech WebAccess/CNC User Manual


Table 4.12: Haas CNC Driver Error Codes
Error Code Description
0x8002 Index error or comma error
0x8004 Fail to convert to analog value
0x8100 Illegal tag address
0x8101 COM port error
0x8102 COM port error
0x8104 Unexpected response
0x8200 Illegal tag address
0x8202 TCP connection error
0x8205 Unexpected response

Table 4.13: SYNTEC CNC OPC UA Driver Tag List


Tag Name Address Type Description
2:1:1:MACHINE/READ/CNCA-
Isalarm Discrete Alarm status
LARM?ISALARM
2:1:1:MACHINE/READ/CNCA-
AlarmCur Text Current alarm
LARM?CURRENTALARM
2:1:1:MACHINE/READ/CNCA-
Text
Almdateh LARM?ALARMHISTORY Read history alarm date by array
(Array)
(conversion code: Almdateh)
2:1:1:MACHINE/READ/CNCA-
Text
Almcodeh LARM?ALARMHISTORY Read history alarm code by array
(Array)
(conversion code: Almdcodeh)
2:1:1:MACHINE/READ/CNCA-
Text Read history alarm message by
Almmsgh LARM?ALARMHISTORY
(Array) array
(conversion code: Almmsgh)
2:1:1:MACHINE/READ/CNCA-
Text Read history alarm duration by
Almduth LARM?ALARMHISTORY
(Array) array
(conversion code: Almduth)
2:1:1:MACHINE/READ/CNCA-
Text
Almclrh LARM?ALARMHISTORY Read history alarm clear by array
(Array)
(conversion code: almclrh)
2:1:1:MACHINE/READ/CNC-
ActFeed Analog Actual feed rate
CHANNEL?ACTFEEDRATE
2:1:1:MACHINE/READ/CNC-
OvFeed Analog Feed override
CHANNEL?ACTOVERRIDE
2:1:1:MACHINE/READ/CNC-
The currently sequence number of
RunSeq CHANNEL?ACTMAINPRO- Analog
the NC program
GRAMLINE
2:1:1:MACHINE/READ/CNC-
ProName CHANNEL?ACTMAINPRO- Text The program name being executed
GRAMNAME
Machine state
0: Stopped
2:1:1:MACHINE/READ/CNC- 1 :Running
Mstate CHANNEL?ACTPROGRAM- Discrete 2: Waiting
STATUS 3: Interrupted
4: Canceled
5: Others

Advantech WebAccess/CNC User Manual 54


Table 4.13: SYNTEC CNC OPC UA Driver Tag List

Chapter 4
Operation mode
0: Manual
1: MDA
2:1:1:MACHINE/READ/CNC- 2: Auto
Mode CHANNEL?ACTOPERA- Discrete 3: Edit
TIONMODE 4: Home
5: MPG
6: Null
7: Others

WebAccess/CNC Runtime & Driver List


2:1:1:MACHINE/READ/CNC-
Pcount Analog Part count
CHANNEL?ACTPARTCOUNT
2:1:1:MACHINE/READ/CNC-
ActSpin Analog Actual spindle speed
SPINDLE?ACTSPEED
2:1:1:MACHINE/READ/CNC-
OvSpin Analog Spindle overrate
SPINDLE?ACTOVERRIDE
2:1:1:MACHINE/READ/CNC-
PosMacX Analog X-axis machine position
CHANNEL/POSTCPBCS?X
2:1:1:MACHINE/READ/CNC-
PosAbsX Analog X-axis absolute position
CHANNEL/POSTCPWCS?X
2:1:1:MACHINE/READ/CNCDI-
R5141 Analog 1st spindle overload
AGNOSIS?R5141
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.14: SYNTEC CNC OPC UA Driver Error Codes


Error Code Description
0x8100 No data received for tag
0x8400 No data received for array tag
0x8500 Incorrect data access for array tag
0x8600 Received data type is incorrect

Table 4.15: FAGOR CNC Driver Tag List


Tag Name Address Type Description
partact partact Analog Part counter
Part-program execution time (in hundredths of
optime optime Analog
a second).
tno tno Analog Number of the active tool
spdlact spdlact Analog Real spindle speed
feedact feedact Analog Real feedrate on the tool path
spdlovrd spdlovrd Analog Active spindle speed override
feedovrd feedovrd Analog Active feedrate (feed override) percentage
almcount almcount Analog Number of errors at the CNC
ncptr ncptr Analog Number of the line of the program
dno dno Analog Number of the active tool offset
Value of the global arithmetic parameter [114]
gP114 globalP114 Analog
(R/W)

55 Advantech WebAccess/CNC User Manual


Table 4.15: FAGOR CNC Driver Tag List
Value of the common arithmetic parameter
cP10014 commonP10014 Analog
[10014] (R/W)
X axis (G159=1). Value of the active zero off-
GX1 GX1 Analog
set (absolute G159 + incremental G158)
Y axis (G159=1). Value of the active zero off-
GY1 GY1 Analog
set (absolute G159 + incremental G158)
Z axis (G159=1). Value of the active zero off-
GZ1 GZ1 Analog
set (absolute G159 + incremental G158)
CommandX CommandX Analog Programmed X axis position
CommandY CommandY Analog Programmed Y axis position
CommandZ CommandZ Analog Programmed Z axis position
ActualX ActualX Analog Real X axis position
ActualY ActualY Analog Real Y axis position
ActualZ ActualZ Analog Real Z axis position
Distance left (to go) for the X axis to reach the
ToGoX ToGoX Analog
programmed coordinate
Distance left (to go) for the Y axis to reach the
ToGoY ToGoY Analog
programmed coordinate
Distance left (to go) for the Z axis to reach the
ToGoZ ToGoZ Analog
programmed coordinate
CNC status.
0: Not ready
1: Ready
status cncstatu Discrete
2: In execution
3: Interrupted
4: In error
Mode that the interface is in
0: Automatic
mode cncmode Discrete
1: Manual
2: MDI/MDA
progname progname Text Name of the program selected in automatic
date cncdate Text Date in year-month-day format
time cnctime Text Time in hours-minutes-seconds format
version cncversion Text CNC version and release number
model cncmodel Text CNC model
“M” functions of the master spindle to be dis-
Mcode Mcode Text
played in the history
Gcode Gcode Text “G” functions to be displayed in the history.
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.16: FAGOR CNC Driver Error Codes


Error Code Description
0x8001 No data received
0x8002 Address setting error

Advantech WebAccess/CNC User Manual 56


Chapter 4
Table 4.17: Roders RMS6-ERP Driver Tag List
Tag Name Address Type Description
version version Analog XML version of output format
time time Text Timestamp
name name Text Machine name
location location Text Machine location
cluster cluster Text Machine cluster

WebAccess/CNC Runtime & Driver List


ver ver Text Version of RMS6 control software
Mode
mode mode Discrete 0: MANUAL
1: AUTOMATIC
State of machine
0: IDLE
1: OFF
state state Discrete
2: ECO
3: RUNNING
4: ERROR
State of operator machine door
door doorstate Discrete 0: CLOSED
1: OPEN
State of automatic door
autodoor autodoorstate Discrete 0: CLOSED
1: OPEN
State of toolchanger door
tooldoor tooldoorstate Discrete 0: CLOSED
1: OPEN
feed feed Analog Feed (mm/min)
ovfeed ov_feed Analog Override feed (in percent)
tool tool Analog Location number of actual tool
tooltype tooltype Text Spindle tool type
spinsped spinspeed Analog Spindle speed (rpm) of current spindle
Override spindle speed (in percent, current
ovspin ov_spinspeed Analog
spindle)
cname cname Text Current job
ncpgm ncpgm Text Path of chosen NC file
startjob start Text Time of job start
lastjob lastjobend Text Time of completing last job
subpgm subpgm Text Path of the actual subprogram
substart substart Text Time of beginning subprogram
percent percent Analog Progress (in percent)
line line Analog Current program line
chuck chuck Analog Current chuck
pallet pallet Analog Current pallet
bdestart bde_start Text Start of operating data collecting
optime op_duration Analog Operating time (seconds)
oputi op_percent Text Operating utilization in percent
nctime nc_duration Analog Milling time (seconds)
ncuti nc_percent Text Milling utilization in percent
settime set_duration Analog Setup time (seconds)

57 Advantech WebAccess/CNC User Manual


Table 4.17: Roders RMS6-ERP Driver Tag List
setuti set_percent Text Setup time utilization in percent
spinsta spin_start Text Start of spindle data collecting of first spindle
spintime spin_duration Analog Spindle on time of first spindle (seconds)
Start of spindle data collecting of second spin-
spin2sta spin2_start Text
dle
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.18: Roders RMS6-ERP Driver Error Codes


Error Code Description
0x8001 XML file storage path error
0x8002 Error creating parse XML file storage path
0x8003 Error moving XML file to parse XML path
0x8004 XML file parsing failed
0x8005 XML file content is empty
0x8006 XML root node is not ERP
0x8007 No data at this measuring point

Advantech WebAccess/CNC User Manual 58


Chapter 4
Table 4.19: OKUMA Mill CNC Driver Tag List
Tag Name Address Type Description
Get the number of the NC-con-
axesNo Get.0.1001.0.0.8 Analog
trolled axes
BlkNo Get.14.3905.0.0.8 Analog Get the currently executed block No
Get.0.4001.0.0.14/SubscriptAr- Analog Get the common variable by array
ComVar
ray (Array) size
Get.0.3066.0.0.8/SubscriptAr- Analog Get the number of machined work-

WebAccess/CNC Runtime & Driver List


count
ray (Array) pieces
Get.0.3067.0.0.8/SubscriptAr- Analog Set the number of machined work-
countS
ray (Array) pieces
Get the selected cutter radius com-
CRCNo Get.0.2013.0.0.8 Analog
pensation number
FCmd Get.0.5139.0.0.0 Analog Get the f command value
FeedRMin Get.0.3018.0.0.2 Analog Get the actual feed rate (mm/min)
FeedRRev Get.0.3019.0.0.2 Analog Get the actual feed rate (mm/rev)
Get the NC feed shaft loading (%)
FeedS1Ld Get.0.2174.0.0.8 Analog
(starting by address 2174.0)
Get the state of feed rate override
OvFeed Get.0.2018.0.0.8 Analog
SW (%)
Get the state of rapid override SW
OvRapid Get.0.2017.0.0.8 Analog
(%)
Get the state of spindle override
OvSpin Get.0.2016.0.0.8 Analog
SW (%)
Get the current position (starting by
PosAbs1 Get.0.3004.0.0.2 Analog
address 3004.0)
Get the remainder distance (starting
PosDis1 Get.0.3011.0.0.2 Analog
by address 3011.0)
Get the machine position (starting
PosMac1 Get.0.3005.0.0.2 Analog
by address 3005.0)
Get the relative position (starting by
PosRel1 Get.0.3007.0.0.2 Analog
address 3007.0)
Get the target position (starting by
PosTar1 Get.0.3012.0.0.2 Analog
address 3012.0)
Spinload Get.0.2014.0.0.8 Analog Get the spindle load (%)
Get the actual spindle revolutions
SpinReA Get.0.2007.0.0.8 Analog
per minute (rpm)
Get the command spindle revolu-
SpinReC Get.0.2006.0.0.8 Analog
tion per minute (rpm)
TLNo Get.0.2034.0.0.9 Analog Get the current tool No.
TLNoNext Get.0.2035.0.0.9 Analog Get the next tool No.
Get the selected tool length offset
TLOffNo Get.0.2012.0.0.8 Analog
number
Get the selected work coordinate
WCNo Get.0.2061.0.0.8 Analog
system number
dryrun Get.0.1078.0.0.8 Discrete Get the Dry run status value
FCKind Get.0.1367.0.0.8 Discrete Get the f command kind
MLock Get.0.1079.0.0.8 Discrete Get the machine block status value.
Mtype Get.14.1008.0.0.8 Discrete Machine type
NCalarm Get.14.1.0.0.8 Discrete Get the NC status (alarm)

59 Advantech WebAccess/CNC User Manual


Table 4.19: OKUMA Mill CNC Driver Tag List
NChold Get.14.1.0.2.8 Discrete
Get the NC status (hold)
NClimit Get.14.1.0.1.8 Discrete
Get the NC status (limit)
NCPstop Get.14.1.0.5.8 Discrete
Get the NC status (program stop)
NCRun Get.14.1.0.4.8 Discrete
Get the NC status (running)
NCSTM Get.14.1.0.3.8 Discrete
Get the NC status (STM)
NCTurr Get.14.1.0.6.8 Discrete
Get the NC status (turret selection)
Opmode Get.14.1001.0.0.8 Discrete
Operation mode
Running(1) or Not running(0) as the
ProgStat Get.14.1004.0.0.8 Discrete
program status
SingBlk Get.0.1080.0.0.8 Discrete Get the single block state
SpinStat Get.0.1966.0.0.8 Discrete Get spindle rotation status
Get.0.5941.0.0.0/SubscriptAr- Text
AlmHisNo Alarm history information (0~19)
ray (Array)
AlmMes Get.14.5003.0.0.0 Text Get the alarm message
Get the axis name (starting by
Ax1name Get.0.5001.0.0.0 Text
address 5001.0)
Get O number after the program
Execname Get.0.5035.0.0.0 Text
has been selected
Text
Gcode GetByText.0.6013 Get the effective G code
(Array)
Text
Mcode GetByText.0.6017 Get the effective M code
(Array)
MID Get.14.5916.0.0.0 Text Get the machine ID
Text Get the execute program display.
ProgBlk GetByText.0.6011
(Array) Column number: 35
Get the selected main program file
Progname Get.14.5010.0.0.0 Text
name
Schename Get.14.5011.0.0.0 Text Get the schedule program name
Get the currently executed
SeqNo Get.14.5014.0.0.0 Text
sequence No
TCut Get.0.3062.0.0.13 Text Get the cutting time (sec)
TCutS Get.0.3063.0.0.13 Text Set the cutting time (sec)
TExtIn Get.0.3064.0.0.13 Text Get the external input time (sec)
TExtInS Get.0.3065.0.0.13 Text Set the external input time (sec)
TNCRun Get.0.3058.0.0.13 Text Get the NC running time (sec)
TNCRunS Get.0.3059.0.0.13 Text Set the NC running time (sec)
TPowOn Get.0.3056.0.0.13 Text Get the power on time (sec)
TPowOnS Get.0.3057.0.0.13 Text Set the power on time (sec)
Get the spindle revolution time
TSpinRe Get.0.3060.0.0.13 Text
(sec)
TSpinReS Get.0.3061.0.0.13 Text Set the spindle revolution time (sec)
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN
2: IDLE
3: ALARM

Advantech WebAccess/CNC User Manual 60


Chapter 4
Table 4.20: OKUMA Lathe CNC Driver Tag List
Tag Name Address Type Description
Get the axis travel speed in the cur-
axisSped Get.0.3115.0.0.2 Analog
rently specified unit
Get the current B-axis load value
BaxisLd Get.0.2170.0.0.8 Analog
(%).
Get.0.4001.0.0.14/SubscriptAr- Analog Get the common variable by array
ComVar
ray (Array) size.

WebAccess/CNC Runtime & Driver List


Get.0.3156.0.0.8/SubscriptAr- Analog Get the number of machined work-
count
ray (Array) pieces
Get.0.3157.0.0.8/SubscriptAr- Analog Set the number of machined work-
countS
ray (Array) pieces
Get the indexed edge no. to the
edgeNo Get.0.1598.0.0.8 Analog
current machining position
Get the NC feed shaft loading (%)
FeedS1Ld Get.0.2037.0.0.8 Analog
(starting by address 2037.0)
Get the turret of M-axis load value
MaxisLd Get.0.2039.0.0.8 Analog
(%).
MaxiSped Get.0.2041.0.10.8 Analog Get the M-axis speed (RPM).
noseRNo Get.0.2145.0.0.8 Analog Get the selected nose R no.
OffNo Get.0.2144.0.0.8 Analog Get the selected offset no.
Operation mode: AUTO(-
Opmode Get.0.1004.0.0.8 Analog
128),MDI(64),MANUAL(32)
Get the current position (starting by
PosAbs1 Get.0.3002.0.0.2 Analog
address 3002.0)
Get the remainder distance (start-
PosDis1 Get.0.3008.0.0.2 Analog
ing by address 3008.0)
Get the machine position (starting
PosMac1 Get.0.3037.0.0.2 Analog
by address 3037.0)
Get the indexed position no. to the
PosNo Get.0.2145.0.0.8 Analog
current machining position
Get the target position (starting by
PosTar1 Get.0.3009.0.0.2 Analog
address 3009.0)
Spin1Ld Get.0.2038.0.0.8 Analog Get the spindle load value (%)
Get the second spindles load value
Spin2Ld Get.0.2040.0.0.8 Analog
(%)
SpinSped Get.0.2006.0.0.8 Analog Get the spindle speed (RPM)
SurfSped Get.0.3053.0.0.2 Analog Get the surface speed.
Get the indexed tool no. to the cur-
TLNo Get.0.2095.0.0.9 Analog
rent machining position
Get the indexed turret no. to the
TurrNo Get.0.2421.0.0.8 Analog
current machining position
Mtype Get.14.1008.0.0.8 Discrete Machine type
NCalarm Get.0.19.0.0.8 Discrete Get the NC status (alarm)
NChold Get.0.19.0.2.8 Discrete Get the NC status (hold).
NClimit Get.0.19.0.1.8 Discrete Get the NC status (limit).
NCPstop Get.0.19.0.5.8 Discrete Get the NC status (program stop).
NCRun Get.0.19.0.4.8 Discrete Get the NC status (running).
NCSTM Get.0.19.0.3.8 Discrete Get the NC status (STM).
NCTurr Get.0.19.0.6.8 Discrete Get the NC status (turret selection).

61 Advantech WebAccess/CNC User Manual


Table 4.20: OKUMA Lathe CNC Driver Tag List
Running(1) or Not running(0) as the
ProgStat Get.0.1901.0.0.8 Discrete
program status
SpinSele Get.0.1207.0.0.0 Discrete Get the currently selected spindle.
Get the system selected on the
SysSele Get.14.1904.0.0.8 Discrete
panel
Turret Get.14.1006.0.0.8 Discrete Get the currently selected turret.
AlmMes Get.0.5009.0.0.0 Text Get the alarm message
Get the axis name (starting by
Ax1name Get.0.5020.0.0.0 Text
address 5020.0)
Feedtype Get.0.5022.0.0.0 Text Get the feed rate type.
IGFname Get.0.5146.0.0.0 Text Get the IGF-Data file name.
MID Get.14.5916.0.0.0 Text Get the machine ID.
Get the main program file name
Progname Get.0.5004.0.0.0 Text
currently selected.
Get the program no. (name) cur-
ProgNo Get.0.5001.0.0.0 Text
rently executed.
Schename Get.0.5006.0.0.0 Text Get the schedule program name
Get the currently executed
SeqNo Get.0.5002.0.0.0 Text
sequence No
TCut Get.0.3164.0.0.13 Text Get the cutting time (sec).
TCutS Get.0.3165.0.0.13 Text Set the cutting time (sec).
TExtIn Get.0.3166.0.0.13 Text Get the external input time (sec).
TExtInS Get.0.3167.0.0.13 Text Set the external input time (sec).
TNCRun Get.0.3160.0.0.13 Text Get the NC running time (sec).
TNCRunS Get.0.3161.0.0.13 Text Set the NC running time (sec).
TPowOn Get.0.3158.0.0.13 Text Get the power on time (sec).
TPowOnS Get.0.3159.0.0.13 Text Set the power on time (sec).
Get the spindle revolution time
TSpinRe Get.0.3162.0.0.13 Text
(sec).
Set the spindle revolution time
TSpinReS Get.0.3163.0.0.13 Text
(sec).
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN
2: IDLE
3: ALARM

Table 4.21: OKUMA CNC Driver Error Codes


Error Code Description
0x8001 Incorrect tag address
0x8002 Connection fail
0x8003 Communication fail
0x8004 API fail
0x8005 The number of API is not correct

Advantech WebAccess/CNC User Manual 62


Chapter 4
Table 4.22: SIEMENS CNC Driver Tag List (S840D)
Tag Name Address Type Description
feedov feedov Analog Feedrate override
rapidov rapidov Analog Rapid traverse override
spinspd DBD21,100 Analog Spindle speed
Spindle override (DBB3x depends on
spinov DBB34,19 Analog
axis sequence)
CHACTIVE CHACTIVE Discrete Channel status active

WebAccess/CNC Runtime & Driver List


CHINT CHINT Discrete Channel status interrupted
CHRESET CHRESET Discrete Channel status reset
DRIRDY DRIRDY Discrete Driver is ready
emergen emergen Discrete Status of emergency
AUTO AUTO Discrete Automatic mode
JOG JOG Discrete JOG mode
MDI MDI Discrete MDI mode
NCALM NCALM Discrete NC alarm is present
NCRDY NCRDY Discrete NC is ready
PGABORT PGABORT Discrete Program status aborted
PGINT PGINT Discrete Program status interrupted
PGRUN PGRUN Discrete Program status running
PGSTOP PGSTOP Discrete Program status stopped
PGWAIT PGWAIT Discrete Program status wait
REF REF Discrete Active REF machine function
REPOS REPOS Discrete Active REPOS machine function
TEACHIN TEACHIN Discrete Active TEACH IN machine function
ALM_TMP DBX10,109 Discrete Temperature alarm
ALM_HS DBX10,109 Discrete Heat sink alarm
ALM_BAT DBX10,109 Discrete Battery alarm
M00M01 DBX21,32 Discrete M00/M01 active
M02M30 DBX21,33 Discrete M02/M30 active
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

63 Advantech WebAccess/CNC User Manual


Table 4.23: SIEMENS CNC Driver Tag List (S828D)
Tag Name Address Type Description
feedov feedov Analog Feedrate override
rapidov rapidov Analog Rapid traverse override
spinspd DBD2500,4000 Analog Spindle speed
Spindle override (DBB380x depends on
spinov DBB3804,2003 Analog
axis sequence)
CHACTIVE CHACTIVE Discrete Channel status active
CHINT CHINT Discrete Channel status interrupted
CHRESET CHRESET Discrete Channel status reset
DRIRDY DRIRDY Discrete Driver is ready
emergen emergen Discrete Status of emergency
AUTO AUTO Discrete Automatic mode
JOG JOG Discrete JOG mode
MDI MDI Discrete MDI mode
NCALM NCALM Discrete NC alarm is present
NCRDY NCRDY Discrete NC is ready
PGABORT PGABORT Discrete Program status aborted
PGINT PGINT Discrete Program status interrupted
PGRUN PGRUN Discrete Program status running
PGSTOP PGSTOP Discrete Program status stopped
PGWAIT PGWAIT Discrete Program status wait
REF REF Discrete Active REF machine function
TEACHIN TEACHIN Discrete Active TEACH IN machine function
ALM_TMP DBX2700,3 Discrete Temperature alarm
M00M01 DBX3300,0 Discrete M00/M01 active
M02M30 DBX3300,1 Discrete M02/M30 active
Request the absolute position of axes
REQ_ABS DBX2600,1 Discrete
(R/W)
Request the distances to go information
REQ_DIS DBX2600,1 Discrete
of axes (R/W)
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.24: SIEMENS Driver Error Codes


Error Code Description
0x8020 Error when converting Gray code or Binary code
0x8100 Open port failed
0x8102 Data size error
0x8XYY X: Error class, YY: Error code
0xB000 Message sequence error
0xB1XX Error Code (byte 15)
0xB2XX Message error (byte 16)
0xB300 Data size error

Advantech WebAccess/CNC User Manual 64


Chapter 4
Table 4.25: MITSUBISHI CNC Driver Tag List
Tag Name Address Type Description
Read axis 1 absolute position information
posabs1 posabs_1 Analog
_1: axis number 1
Read axis 1 machine position information
posmac1 posmac_1.0 Analog _1.0: axis number 1, normal
_1.1: axis number 1, Skip is on
Read axis 1 relative position information
pos1rel1 posrel_1.0 Analog _1.0: axis number 1, normal

WebAccess/CNC Runtime & Driver List


_1.1: axis number 1, Skip is on
Read axis 1 distance to go information
posdis1 posdis_1.0 Analog _1.0: axis number 1, normal
_1.1: axis number 1, Skip is on
Read axis 1 next distance information
posned1 posned_1 Analog
_1: axis number 1
Status of automatic operation
0: RESET
ncstatus ncstatus Discrete 1: STOP
2: HOLD
3: START
isalarm isalarm Discrete Status of alarm
Text
ncalarm ncalarm NC alarm array(10)
(Array)
Text
stopcode stopcode Stop code array(10)
(Array)
Text
plcalarm plcalarm PLC alarm message array(10)
(Array)
Text
opemsg opemsg Operator message array(10)
(Array)
Text
allalarm allalarm No alarm type distinction array(10)
(Array)
emergen emergen Discrete Status of emergency
Mode selection (mode.extvt0)
0: Jog
1: Handle
2: Incremental
3: Manual arbitrary feed
4: Reference position return
mode mode Analog
5: Automatic initial set mode
6: Jog-handle simultaneous
8: Memory
9: Tape
11: MDI
14: Sub part system control I mode ON
axescur axescur Analog Current controlled axes
System software number
sysno1 sysno_1 Text
_1: axis number 1
System name
sysname1 sysname_1 Text
_1: axis number 1
PLC version
version1 version_1 Text
_1: axis number 1
serialno serialno Text NC serial number
setfeed setfeed Analog Read feed rate command

65 Advantech WebAccess/CNC User Manual


Table 4.25: MITSUBISHI CNC Driver Tag List
actfeed actfeed Analog Read actual feed rate
ovfeed ovfeed Analog Read feed rate override
ovrapid ovrapid Analog Read rapid override
Read actual spindle speed
actspin1 actspin_1 Analog
_1: spindle number 1
ovspin ovspin Analog Read spindle override
Read spindle 1 load (%)
sp1load spload_1 Analog
_1: spindle number 1
Read axis 1 load (%)
ax1load axload_1 Analog
_1: axis number 1
pcount pcount Analog Read part count
prequire prequire Analog Read required part count
mainprog mainprog Text Read main program number
subprog subprog Text Read sub program number
mainseq mainseq Analog Read main program sequence
subseq subseq Analog Read sub program sequence
powhour powhour Analog Read power time (hours)
powmin powmin Analog Read power time (minutes)
powsec powsec Analog Read power time (seconds)
runhour runhour Analog Read run time (hours)
runmin runmin Analog Read run time (minutes)
runsec runsec Analog Read run time (seconds)
starhour starthour Analog Read start time (hours)
starmin startmin Analog Read start time (minutes)
starsec startsec Analog Read start time (seconds)
sysyear sysyear Analog Read system time (year)
sysmonth sysmonth Analog Read system time (month)
sysdate sysdate Analog Read system time (date)
syshour syshour Analog Read system time (hours)
sysmin sysmin Analog Read system time (minutes)
syssec syssec Analog Read system time (seconds)
Analog
gcode gcode G code array(21)
(Array)
M code1 (1 to 4)
mcode1 mcode_1 Analog
_1: command number 1
T code1 (1 to 4)
tcode1 tcode_1 Analog
_1: command number 1
B code1 (1 to 4)
bcode1 bcode_1 Analog
_1: command number 1
D1 code1 (shape compensation number)
d1code1 dcode1_1 Analog
_1: axis number 1
D2 code1 (wear compensation number)
d2code1 dcode2_1 Analog
_1: axis number 1
H code1 (length compensation number)
hcode1 hcode_1 Analog
_1: axis number 1
Read/write macro 500 value
mac500 mac_500 Analog
_500: macro number 500

Advantech WebAccess/CNC User Manual 66


Table 4.25: MITSUBISHI CNC Driver Tag List

Chapter 4
Get tool life type
0: Disabled
TLType tolifetype Discrete
1: Type 1
2: Type 2
Text
TLTitle tolifeti Get the array(11) title of tool life
Array
Get the array(11) values of tool life by tool group
Text number 1 and tool number 1
TLg1t1 tolifevalue_1_1
Array _1: tool group number 1

WebAccess/CNC Runtime & Driver List


_1: tool number 1
Flag (0 ->1) from getting all tool offset data
getodata getodata Discrete including offtitle, offset_0,
offset_1, …, offset_8
Text
offtitle offtitle Reads tool offset's title array(9)
Array
Analog
offset_0 offset_0 R/W tool offset value (Column 0)
Array
Analog
offset_1 offset_1 R/W tool offset value (Column 1)
Array
Analog
offset_2 offset_2 R/W tool offset value (Column 2)
Array
Analog
offset_3 offset_3 R/W tool offset value (Column 3)
Array
Analog
offset_4 offset_4 R/W tool offset value (Column 4)
Array
Analog
offset_5 offset_5 R/W tool offset value (Column 5)
Array
Analog
offset_6 offset_6 R/W tool offset value (Column 6)
Array
Analog
offset_7 offset_7 R/W tool offset value (Column 7)
Array
Analog
offset_8 offset_8 R/W tool offset value (Column 8)
Array
R/W G54 work coordinates data
wcg54_1 wc_g54_1 Analog
_1: G54 number 1
R/W G55 work coordinates data
wcg55_1 wc_g55_1 Analog
_1: G55 number 1
R/W G56 work coordinates data
wcg56_1 wc_g56_1 Analog
_1: G56 number 1
R/W G57 work coordinates data
wcg57_1 wc_g57_1 Analog
_1: G57 number 1
R/W G58 work coordinates data
wcg58_1 wc_g58_1 Analog
_1: G58 number 1
R/W G59 work coordinates data
wcg59_1 wc_g59_1 Analog
_1: G59 number 1
R/W EXT work coordinates data
wcext_1 wc_ext_1 Analog
_1: EXT number 1
Fixed counter B_0 to B_1FFF (1 bit, 8192
B_0 B_0 Analog
points)
C_0 C_0 Analog Counter coil C_0 to C_1255 (1 bit, 1256 points)
Data register D_0 to D_4095 (16 bit, 2048
D_0 D_0 Analog
points)
E_0 E_0 Analog Special relay E_0 to E_127 (1bit, 248 points)

67 Advantech WebAccess/CNC User Manual


Table 4.25: MITSUBISHI CNC Driver Tag List
Alarm message interface, temporary memory.
F_0 F_0 Analog
F_0 to F_1024 (1 bit, 1024 points)
Temporary memory G_0 to G_3071 (1bit, 3072
G_0 G_0 Analog
points)
I_0 I_0 Analog I device I_0 to I_3FF (1 bit, 1024 points)
J_0 J_0 Analog J device J_0 to J_63F (1 bit, 1600 points)
L_0 L_0 Analog Latch relay L_0 to L_511 (1 bit, 512 points)
Temporary memory M_0 to M10239 (1 bit,
M_0 M_0 Analog
10240 points)
Q_0 Q_0 Analog Q device Q_0 to Q_1151 (1 bit, 1152 points)
File register, CNC word interface R_0 to
R_0 R_0 Analog
R_32767 (16 bit, 32768 points)
Special relay SM_0 to SM_127 (1bit, 128
SM_0 SM_0 Analog
points)
Special relay SB_0 to SB_1FF (1 bit, 512
SB_0 SB_0 Analog
points)
Special register SD_0 to SD_127 (16 bit, 128
SD_0 SD_0 Analog
points)
Cumulative timer ST_0 to ST_1063 (1 bit, 1064
ST_0 ST_0 Analog
points)
Special register SW_0 to SW_FDF (16 bit, 4096
SW_0 SW_0 Analog
points)
10ms unit timer coil T_0 to T_1703 (1 bit, 1704
T_0 T_0 Analog
points)
For two input signal lines to programmable con-
U_0 U_0 Analog
troller U_0 to U_17F (1 bit, 384 points )
V_0 V_0 Analog V device V_0 to V_255 (1 bit, 256 points)
For two output signal lines to programmable
W_0 W_0 Analog
controller W_0 to W_1FFF (1 bit, 512 points)
Input signal to PLC X_0 to X_1FFF (1 bit, 8192
X_0 X_0 Analog
points)
Output signal from PLC Y_0 to Y_1FFF (1 bit,
Y_0 Y_0 Analog
8192 points)
File register ZR_0 to ZR_32767 (16 bit, 32768
ZR_0 ZR_0 Analog
points)
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM

Advantech WebAccess/CNC User Manual 68


Chapter 4
Note! 1. Mitsubishi driver supports two scan time settings. The first scan
timer interval is the same as other drivers which is set in the TCPIP
port setting. The second scan timer (ScanTimeMs2) is designed in
"ms". Users can add "/2" at the end of the tag address to use the
second timer (ScanTimeMs2) as the address setting "powsec/2".
2. All the Mitsubishi CNC devices must be set in the same WebAc-
cess TCPIP port and share the Scan Time and ScanTimeMS set-
ting.

WebAccess/CNC Runtime & Driver List


3. Please install the runtime library "FCSB1224W100-A5.exe" down-
loaded from Mitsubishi's website before using WebAccess/CNC
driver to connect to Mitsubishi CNC.

Table 4.26: MITSUBISHI Driver Error Codes


Error Code Description
0x8001 Incorrect tag address
0x8002 Initial API fail
0x8003 Device connecting
0x8004 Connection fail
0x8005 Command fail
0x8006 Incorrect array size
0x8007 Message error (getodata is not executed)
0x8B00 Point value is not initialized
0x8C00 Driver (.exe) is not executed

69 Advantech WebAccess/CNC User Manual


Table 4.27: KUKA Robot OPC UA Driver Tag List
Tag Name Address Type Description
IPAddr IPAddr Text Controller IP address
MacAddr MacAddr Text Controller MAC address
SubMask SubMask Text Controller subnet mask
Gateway Gateway Text Controller gateway
CUpTime CUpTime Text Controller up time
ProjName ProjName Text Current project name
ProjVer ProjVer Text Current project version
StUpTime StUpTime Text Startup time
UpsState UpsState Text UPS state
ExecLine ExecLine Analog Execution command pointer line
ExecModu ExecModu Text Execution command pointer module
Execution mode:
0: Cycle
ExecMode ExecMode Discrete
1: Continuous
2: Step
ProgStat ProgStat Text Program state
Task program loaded status:
ProgLoad ProgLoad Discrete 0: False
1: True
ProgName ProgName Text Task program name
A1Pos A1Pos Analog Axis 1 actual position
A1Spd A1Spd Analog Axis 1 actual speed
A1SpdRel A1SpdRel Analog Axis 1 relative speed
A1TRDen A1TRDen Analog Axis 1 transmission ratio denominator
A1TRNum A1TRNum Analog Axis 1 transmission ratio numerator
A1ID A1AssetID Text Axis 1 asset ID
Axis 1 motion profile
0: Other
1: Rotary
A1MProf A1MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
A2Pos A2Pos Analog Axis 2 actual position
A2Spd A2Spd Analog Axis 2 actual speed
A2SpdRel A2SpdRel Analog Axis 2 relative speed
A2TRDen A2TRDen Analog Axis 2 transmission ratio denominator
A2TRNum A2TRNum Analog Axis 2 transmission ratio numerator
A2ID A2AssetID Text Axis 2 asset ID
Axis 2 motion profile
0: Other
1: Rotary
A2MProf A2MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
A3Pos A3Pos Analog Axis 3 actual position
A3Spd A3Spd Analog Axis 3 actual speed
A3SpdRel A3SpdRel Analog Axis 3 relative speed
A3TRDen A3TRDen Analog Axis 3 transmission ratio denominator

Advantech WebAccess/CNC User Manual 70


Table 4.27: KUKA Robot OPC UA Driver Tag List

Chapter 4
A3TRNum A3TRNum Analog Axis 3 transmission ratio numerator
A3ID A3AssetID Text Axis 3 asset ID
Axis 3 motion profile
0: Other
1: Rotary
A3MProf A3MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
A4Pos A4Pos Analog Axis 4 actual position

WebAccess/CNC Runtime & Driver List


A4Spd A4Spd Analog Axis 4 actual speed
A4SpdRel A4SpdRel Analog Axis 4 relative speed
A4TRDen A4TRDen Analog Axis 4 transmission ratio denominator
A4TRNum A4TRNum Analog Axis 4 transmission ratio numerator
A4ID A4AssetID Text Axis 4 asset ID
Axis 4 motion profile
0: Other
1: Rotary
A4MProf A4MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
A5Pos A5Pos Analog Axis 5 actual position
A5Spd A5Spd Analog Axis 5 actual speed
A5SpdRel A5SpdRel Analog Axis 5 relative speed
A5TRDen A5TRDen Analog Axis 5 transmission ratio denominator
A5TRNum A5TRNum Analog Axis 5 transmission ratio numerator
A5ID A5AssetID Text Axis 5 asset ID
Axis 5 motion profile
0: Other
1: Rotary
A5MProf A5MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
A6Pos A6Pos Analog Axis 6 actual position
A6Spd A6Spd Analog Axis 6 actual speed
A6SpdRel A6SpdRel Analog Axis 6 relative speed
A6TRDen A6TRDen Analog Axis 6 transmission ratio denominator
A6TRNum A6TRNum Analog Axis 6 transmission ratio numerator
A6ID A6AssetID Text Axis 6 asset ID
Axis 6 motion profile
0: Other
1: Rotary
A6MProf A6MProf Discrete
2: Rotary Endless
3: Linear
4: Linear Endless
Flange load's center of mass in Cartesian
FLCM_X FLCM_X Analog
coordinates X
Flange load's center of mass in Cartesian
FLCM_Y FLCM_Y Analog
coordinates Y
Flange load's center of mass in Cartesian
FLCM_Z FLCM_Z Analog
coordinates Z
FLCM_A FLCM_A Analog Flange load's center of mass in orientation A
FLCM_B FLCM_B Analog Flange load's center of mass in orientation B

71 Advantech WebAccess/CNC User Manual


Table 4.27: KUKA Robot OPC UA Driver Tag List
FLCM_C FLCM_C Analog Flange load's center of mass in orientation C
FLIner_X FLIner_X Analog Flange load's inertia X
FLIner_Y FLIner_Y Analog Flange load's inertia Y
FLIner_Z FLIner_Z Analog Flange load's inertia Z
FLMass FLMass Analog Flange load's mass
In control status:
InCont InCont Discrete 0: False
1: True
In motion status:
InMotion InMotion Discrete 0: False
1: True
IntialOP IntialOP Text Initial operation
On path status:
OnPath OnPath Discrete 0: False
1: True
SpeedOV SpeedOV Analog Speed override
Analog
CurrAct CurrAct Actual current of axes
(Array)
Analog
MotTemp MotTemp Current motor temperature of an axes
(Array)
Display of power failure:
PowFail PowFail Discrete 0: False
1: True
Emergency stop status:
EmerStop EmerStop Discrete 0: False
1: True
Enabling device status:
ENDevice ENDevice Discrete 0: False
1: True
Internal emergency stop status:
IntEmer IntEmer Discrete 0: False
1: True
Operation mode
0: Other (INVALID)
1: Manual reduced speed (T1)
OPMode OPMode Discrete
2: Manual high speed (T2)
3: Automatic (AUT)
4: Automatic external (EX)
Protective stop status:
ProtStop ProtStop Discrete 0: False
1: True
OPCver OPCver Text OPC UA software version
OPCTime OPCTime Text OPC UA server time
OPCStart OPCStart Text OPC UA server start time
OPC UA server state
0: Running
1: Failed
2: No configuration
OPCState OPCState Discrete 3: Suspended
4: Shutdown
5: Test
6: Communication fault
7: Unknown

Advantech WebAccess/CNC User Manual 72


Chapter 4
Table 4.28: KUKA Robot OPC UA Driver Error Codes
Error Code Description
0x8100 No data received for tag
0x8200 Problem with the tag's size setting
0x8300 The array size of tag is smaller than the real tag
0x8400 No data received for array tag
0x8500 Incorrect data access for array tag
0x8600 Received data type is incorrect

WebAccess/CNC Runtime & Driver List


Table 4.29: HNC CNC Driver Tag List
Tag Name Address Type Description
Actchan Sys.ACTIVECHAN Analog Active channel
Analog
almno Alarm.No Alarm number array
(Array)
ax0chan Axis.0.CHAN Analog Axis 0 channel
ax0cpos Axis.0.CMDPOS Analog Axis 0 command position
ax0crel Axis.0.CMDPOSRCS Analog Axis 0 command relative position
ax0cvel Axis.0.CMDVEL Analog Axis 0 command velocity
Axis 0 command work coordinate posi-
ax0cwcs Axis.0.CMDPOSWCS Analog
tion
ax0dis Axis.0.LEFTTOGO Analog Axis 0 distance to go
ax0index Axis.0.CHANINDEX Analog Axis 0 index
ax0load Axis.0.LOADCUR Analog Axis 0 loading current
ax0pos Axis.0.ACTPOS Analog Axis 0 actual position
ax0rel Axis.0.ACTPOSRCS Analog Axis 0 relative position
ax0type Axis.0.TYPE Analog Axis 0 type
ax0vel Axis.0.ACTVEL Analog Axis 0 actual velocity
ax0wcs Axis.0.ACTPOSWCS Analog Axis 0 work coordinate position
B0 Reg.B.0 Analog B0 register
bppos Chan.0.0.BPPOS Analog Break point position
channum Sys.CHANNUM Analog Channel number
CNCver Sys.CNCVER Analog CNC version
cycle Chan.0.0.CYCLE Analog Cycle state
D0 Reg.D.0 Analog D0 register
dcdrow Chan.0.0.DCDROW Analog Decode row
dcode Chan.0.0.DOFF Analog D code
emergen Chan.0.0.ISESTOP Analog Is stop (emergency)
evcode Event.Code Analog Event code
evsource Event.Src Analog Event source
F0 Reg.F.0 Analog F0 register
Chan.0.0.ACTFEE-
feedact Analog Actual feedrate
DRATE
Chan.0.0.CMDFEE-
feedcmd Analog Feedrate command
DRATE
Chan.0.0.FEEDOVER-
feedov Analog Feedrate override
RIDE

73 Advantech WebAccess/CNC User Manual


Table 4.29: HNC CNC Driver Tag List
Chan.0.0.PROGFEE-
feedprog Analog Program feedrate
DRATE
fvar0 FloatVar.0 Analog Float system variable 0
G0 Reg.G.0 Analog G0 register
gcode Chan.0.0.CMDTYPE Analog Current G code
hcode Chan.0.0.HOFF Analog H code
hold Chan.0.0.HOLD Analog Hold state
I0 Reg.I.0 Analog I0 register
ishome Chan.0.0.ISHOMING Analog Is homing
ismdi Chan.0.0.ISMDI Analog Is MDI
isproend Chan.0.0.ISPROGEND Analog Is program end
isprosel Chan.0.0.ISPROGSEL Analog Is program selected
isrun Chan.0.0.ISRUNNING Analog Is running
K0 Reg.K.0 Analog K0 register
lgaxis Chan.0.0.LAX Analog Logic axis
mcode Chan.0.0.MCODE Analog M code
metric Sys.METRICDISP Analog Metric display
modal Chan.0.0.MODAL Analog Channel 0 modal
Mode
0 = Reset
1 = Auto
2 = Jog
mode Chan.0.0.MODE Analog 3 = Step
4 = MPG
5 = HOME
6 = PMC
7 = MDI/SBL
P0 Reg.P.0 Analog P0 register
paravar1 Para.1.Value Analog Parameter 1 value
pcount Chan.0.0.PARTCNTR Analog Part counts
ptotal Chan.0.0.PARTSTATI Analog Part count total
Q0 Reg.Q.0 Analog Q0 register
R0 Reg.R.0 Analog R0 register
Chan.0.0.RAPIDOVER-
rapov Analog Rapid override
RIDE
runprog Chan.0.0.RUNPROG Analog Run program
runrow Chan.0.0.RUNROW Analog Program running row
selprog Chan.0.0.SELPROG Analog Select program
showtime Sys.SHOWTIME Analog Show time
spdact Chan.0.0.ACTSPDL Analog Actual Spindle speed
spdcmd Chan.0.0.CMDSPDL Analog Spindle speed command
Chan.0.0.SPDLOVER-
spdov Analog Spindle override
RIDE
sysvar0 SysVar.0 Analog System variable 0
tcode Chan.0.0.TCODE Analog T code
toffs Chan.0.0.TOFFS Analog Tool offset number
toolrdy Chan.0.0.TOOLRDY Analog Tool ready number
tooluse Chan.0.0.TOOLUSE Analog Current tool use number
W0 Reg.W.0 Analog W0 register

Advantech WebAccess/CNC User Manual 74


Table 4.29: HNC CNC Driver Tag List

Chapter 4
X0 Reg.X.0 Analog X0 register
Y0 Reg.Y.0 Analog Y0 register
Text
almtext Alarm.String Alarm text
(Array)
ax0name Axis.0.NAME Text Axis 0 name
chname Chan.0.0.NAME Text Channel 0 Index 0 Name
DRVver Sys.DRVVER Text Driver version
MAinfo Sys.MACHINEINFO Text Machine information

WebAccess/CNC Runtime & Driver List


MAnum Sys.MACHINENUM Text Machine number
MAtype Sys.MACHINETYPE Text Machine type
NCKver Sys.NCKVER Text NCK version
NVver Sys.NCVER Text NC version
paname Chan.0.0.AXISNAME Text Channel 0 Index 0 program axis name
PLCver Sys.PLCVER Text PLC version
spdlname Chan.0.0.SPDLNAME Text Channel 0 index 0 spindle name
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.30: HNC CNC Driver Error Codes


Error Code Description
0x8001 Incorrect tag address
0x8002 Connecting
0x8003 No value
0x8004 Connection fail
0x8005 Connection fail 2
0x8006 API fail

75 Advantech WebAccess/CNC User Manual


Table 4.31: SIEMENS CNC OPC UA Driver Tag List
Tag Name Address Type Description
almnum almnum Analog Number of pending general alarms
Text
almdat almdat Alarm date time
(Array)
Analog
almno almno Alarm number
(Array)
Text
almmsg almmsg Alarm message
(Array)
Acknowledgment criterion for an alarm
1 = Power On
2 = Reset
3 = Cancel
Discrete 4 = Alarm is cancelled by NCK-software
clinfo alminfo
(Array) 5 = Alarm is cancelled by starting a program
6 = Alarm is cancelled by RESET in all chan-
nels of the bags
7 = Alarm is cancelled by RESET in all chan-
nels of the NC
CNC emergency status
cncemg cncemg Discrete 0 = false
1 = true
Active mode
0 = JOG
cncmode cncmode Discrete
1 = MDI
2 = AUTO
Program status (cncstate.extvt0)
1 = interrupted
2 = stopped
cncstate cncstate Analog
3 = in progress
4 = waiting
5 = aborted
NCK type (cnctype.extvt0)
0: 840D pl
1000: FM-NC
2000: 810D pl
3000: 802S
4000: 802D pl
5000: 840Di pl (up to and including SW 6)
cnctype cnctype Analog
6000: SOLUTIONLINE
10700: 840D sl
14000: 802D sl T/M
14000: 802D sl N/G or C/U
14500: 808D
15000: 840Di sl
16000: 828D
cncver cncver Analog NCK version
systime systime Text Time represented in PLC format
boottime boottime Analog Time since control system boot on (in minutes)
powtime powtime Analog Time since last normal boot (in minutes)
cuttime cuttime Analog Tool operating time (in seconds)
cyctime cyctime Analog Runtime of selected NC program (in seconds)
Total runtime of NC programs in Automatic
optime optime Analog
mode (in seconds)

Advantech WebAccess/CNC User Manual 76


Table 4.31: SIEMENS CNC OPC UA Driver Tag List

Chapter 4
Total number of workpieces machined in cur-
parts parts Analog
rent run
totalpar totalpar Analog Total number of all machined workpieces
mainprog mainprog Text Currently selected program
subprog subprog Text Program name
Flag (0 ->1) from setting the main program as
setmain setmain Discrete
setmainn
Set an NC program name as the main pro-

WebAccess/CNC Runtime & Driver List


gram,
setmainn setmainn Text EX 1: Part program/PROG1.MPF
EX 2: Sub program/PROG2.MPF
EX 3: Work pieces/temp/PROG3.MPF
Line number of the current NC instruction
(starting at 1)
actline actline Analog 0: before program start
-1: not available due to an error
-2: not available because of DISPLOF
blockno blockno Text Block number
progcode progcode Text Current part program block
Text
curncblk curncblk Current running program block
(Array)
Text
gcode gcode Active G-function of relevant group
(Array)
tcode tcode Analog Number of active tool
numtools numtools Analog Number of tools in the area TO
Analog
toolno toolno T number
(Array)
Text
toolid toolid Tool identifier
(Array)
Analog
toolmag toolmag Current magazine in which the tool is located
(Array)
Analog
toolplac toolplac Current location in which the tool is located
(Array)
Analog
tooledge tooledge Number of cutting edges of a tool
(Array)
Offset value parameters and cutting edge list
with D numbers for a tool. The cutting edge
Analog
t1ed1 tooled_1_1 data of tool 1 is set as tooled_A_B
(Array)
A: 1
B: 1
Monitoring data for a tool edge. The edge 1's
Analog monitoring data of tool 1 is set as toolmd_A_B
t1md1 toolmd_1_1
(Array) A: 1
B: 1
chanset channel_no Analog Set Channel number (R/W)
chanmax chanmax Analog Maximum number of available channels
channo channo Analog Number of active channels
axesmax axesmax Analog Maximum number of available machine axes
axesno axesno Analog Number of active machine axes
Text
axisname axisname Machine axis name
(Array)

77 Advantech WebAccess/CNC User Manual


Table 4.31: SIEMENS CNC OPC UA Driver Tag List
Current physical unit of the axis position
0 = mm
Discrete 1 = inch
axisunit axisunit
(Array) 2 = degree
3 = indexing position
4 = userdef
Analog
posabs posabs Programmed position
(Array)
Analog
posdis posdis Tool base distance-to-go
(Array)
Analog
posmac posmac Tool base position
(Array)
Analog
G500 G500 G500 work offset
(Array)
Analog
G54 G54 G54 work offset
(Array)
Analog
G55 G55 G55 work offset
(Array)
Analog
G56 G56 G56 work offset
(Array)
Analog
G57 G57 G57 work offset
(Array)
Desired value of axis-specific feedrate for a
feedcmd feedcmd Analog
positioning axis
feedov feedov Analog Feedrate override
feedrate feedrate Analog Actual value of axis-specific feedrate
spinno spinno Analog Number of spindles
spincmd1 spincmd1 Analog Spindle1 speed desired value
spincmd2 spincmd2 Analog Spindle2 speed desired value
spinld1 spinld1 Analog Spindle1 driver load
spinld2 spinld2 Analog Spindle2 driver load
spinov1 spinov1 Analog Spindle1 override
spinov2 spinov2 Analog Spindle2 override
spinspd1 spinspd1 Analog Spindle1 speed
spinspd2 spinspd2 Analog Spindle2 speed
State of spindle1 rotation
value range to be read via BTSS variable
0 = clockwise
1 = counter-clockwise
spd1turn spinturn1 Discrete 2 = stop
value range to be read via $ variable
3 = clockwise
4 = counter-clockwise
5 = stop
State of spindle2 rotation
value range to be read via BTSS variable
0 = clockwise
1 = counter-clockwise
spd2turn spinturn2 Discrete 2 = stop
value range to be read via $ variable
3 = clockwise
4 = counter-clockwise
5 = stop

Advantech WebAccess/CNC User Manual 78


Table 4.31: SIEMENS CNC OPC UA Driver Tag List

Chapter 4
PLC DB address sample as Plc_A_B
Plc_DB10_D-
plc_DB Analog A: DB10
BX56.1
B: DBX56.1
R_0 R_0 Analog R variable as R_0, R_1,…
R variables in array as
Analog
R_1_2 R_1_2 R_1_5: R1~R5
(Array)
R_10_2: R10~R11
Flag (0->1) from getting a NC program as
getmpgm getmpgm Discrete
mqnc from CNC memory

WebAccess/CNC Runtime & Driver List


NC program name with the path
EX. 1: Part programs/PROG1.MPF
mqnc mqnc Text
EX. 2: Sub programs/PROG2.MPF
EX. 3: Work pieces/temp/PROG3.MPF
Flag (0->1) from uploading a NC program as
upmpgm upmpgm Discrete
upmncs to CNC memory as upmncd
The file name or the name with the source
path.
upmncs upmncs Text
EX. 1: ABC.MPF
EX. 2: C:\ncfiles\123.MPF
The file name with the destination path
EX. 1: Part programs/PROG1.MPF
upmncd upmncd Text
EX. 2: Sub programs/PROG2.MPF
EX. 3: Work pieces/temp/PROG3.MPF
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Table 4.32: SIEMENS CNC OPC UA Driver Error Codes


Error Code Description
0x8001 Incorrect tag type
0x8002 Incorrect tag address
0x8003 No value
0x8004 Connection fail
0x8005 Number of tags exceeds the upper limit of each device

79 Advantech WebAccess/CNC User Manual


Table 4.33: KND CNC Driver Tag List
Tag Name Address Type Description
id 0:id Text System ID
type 0:type Text System type
cnctype 0:cnc-type Text CNC type
cncname 0:cnc-name Text CNC name
softver 0:soft-version Text Software version
Text
axisname 0:nc-axes Read axis name
(Array)
1:linear-axis-
nolinear Analog Number of linear axes
count
1:rotary-axis-
norotary Analog Number of rotary axes
count
nospin 1:spindle-count Analog Number of spindles
nopath 1:path-count Analog Number of paths
status 2:run-status Discrete CNC status
Operation mode (opmode.extvt0)
0: MDI
1: MEM
3: EDIT
4: JOG
opmode 2:opr-mode Analog 5: Handle
6: Teach in Handle
7: Teach in MPG
8: MPG
9: ZRN(M)
10: ZRN(P)
ready 2:ready Discrete CNC is ready
maclock 2:machine-lock Discrete Machine lock status
auxlock 2:auxiliary-lock Discrete Auxiliary lock status
dryrun 2:dry-run Discrete Dry run status
sbk 2:single-block Discrete Single block status
opskip 2:optional-skip Discrete Optional skip status
opstop 2:optional-stop Discrete Optional stop status
Text
almclass 3:almclass Alarm class
(Array)
Text
almcode 3:almcode Alarm code
(Array)
posabs_0 4:0:absolute Analog Read 1st absolute position information
posmac_0 4:0:machine Analog Read 1st machine position information
posrel_0 4:0:relative Analog Read 1st relative position information
posdis_0 4:0:dist-to-go Analog Read 1st distance to go information
Analog Read all absolute position information by
posabsar 4:absolute
(Array) array
Analog Read all machine position information by
posmacar 4:machine
(Array) array
Analog
posrelar 4:relative Read all relative position information by array
(Array)
Analog
posdisar 4:dist-to-go Read all distance to go information by array
(Array)

Advantech WebAccess/CNC User Manual 80


Table 4.33: KND CNC Driver Tag List

Chapter 4
Analog
servload 5:servload Read servo load
(Array)
Analog
spinload 6:spinload Read spindle load
(Array)
cyccur 7:cur Analog Current cycle time (sec)
cyctol 7:total Analog Read/reset total cycle time (sec)
8:abso-
powtol Analog Total power on time (sec)
lute:online

WebAccess/CNC Runtime & Driver List


runtol 8:absolute:run Analog Total operation time (sec)
cuttol 8:absolute:cut Analog Total cutting time (sec)
powrel 8:relative:online Analog Relative power on time (sec)
runrel 8:relative:run Analog Relative operation time (sec)
cutrel 8:relative:cut Analog Relative cutting time (sec)
runcyc 8:cycle:run Analog Cycle operation time (sec)
cutcyc 8:cycle:cut Analog Cycle cutting time (sec)
ptotal 9:total Analog Read/reset total part count
pcount 9:batch Analog Read/reset part count
ptreq 10:total Analog Read/write total required part count
preq 10:batch Analog Read/write required part count
ovfeed 11:ov Analog Read feed rate override
ovrapid 12:ov Analog Read rapid override
Analog
ovsp 13:ovsp Read spindle override
(Array)
Analog
spinsped 14:spinsped Read spindle speed
(Array)
feedrate 15:feedrate Analog Read feedrate
Analog
wc_g54 16:G54 Read G54 work coordinates data
(Array)
Analog
wc_g55 16:G55 Read G55 work coordinates data
(Array)
Analog
wc_g56 16:G56 Read G56 work coordinates data
(Array)
Analog
wc_g57 16:G57 Read G57 work coordinates data
(Array)
Analog
wc_g58 16:G58 Read G58 work coordinates data
(Array)
Analog
wc_g59 16:G59 Read G59 work coordinates data
(Array)
Analog
wc_cur 17:wccur Read current work coordinates data
(Array)
Analog
mar_100 18:100:mar Read macro data 100~163
(Array)
smar_999 97:999:smar Analog Write single macro data 999
Text
gcode 19:gcode Read all data of G code at a time
(Array)
Text
geomtitl 20:geotitle Read tool geom offset title
(Array)
Analog
geom001 20:1:geom Read tool 1 geom offset value
(Array)

81 Advantech WebAccess/CNC User Manual


Table 4.33: KND CNC Driver Tag List
Analog
geomdata 98:geomdata Data of geom offset value
(Array)
geomno 98:geomno Analog Set number of tool to write geom offset value
Flag (0->1) from setting geom offset data to
setgeom 98:setgeom Discrete
number of tool
Text
weartitl 21:weatitle Read tool wear offset title
(Array)
Analog
wear001 21:1:wear Read tool 1 wear offset value
(Array)
Analog
weardata 99:weardata Data of wear offset value
(Array)
wearno 99:wearno Analog Set number of tool to write wear offset value
Flag (0->1) from setting wear offset data to
setwear 99:setwear Discrete
number of tool
Read the PLC data of the specified address
as X/Y/F/G/R/S/K/D/TL
u8: 8 bits unsigned integral
s8: 8 bits signed integral
plc_x0 22:X0:u8 Analog
u16: 16 bits unsigned integral
s16: 16 bits signed integral
u32: 32 bits unsigned integral
s32: 32 bits signed integral
runprog 23:O Analog Read currently program number (Oxxxx)
Read the currently sequence number of the
runseq 23:N Analog
NC program (Nxxxx)
blkpoint 23:P Analog Read the actual execution pointer
curnum 24:number Analog Read/write current program by using number
curname 24:name Text Read/write current program by using name
CNC connection status
0: DISCON-
NECT
MASTATUS MASTATUS Discrete
1: RUN (only for MEM mode)
2: IDLE
3: ALARM

Table 4.34: KND CNC Driver Error Codes


Error Code Description
0x8001 CURL error
0x8002 HTTP status code

Advantech WebAccess/CNC User Manual 82


Chapter 4
Table 4.35: HEIDENHAIN iTNC530 Driver Tag List (LSV2)
Tag Name Address Type Description
ncmodel ncmodel Text TNC model
ncver ncver Text NC version
plcver plcver Text PLC version
optver optver Text The version of additional options
Text
axesname axesname Read axes name
(Array)

WebAccess/CNC Runtime & Driver List


Text
axestype axestype Read axes type
(Array)
Analog
posrefar posrefar Read all reference position by array
(Array)
Analog
posactar posactar Read all actual position by array
(Array)
posref0 posref:0 Analog Read 1st reference position
posact0 posact:0 Analog Read 1st actual position
Operation mode
0: Manual
1: MDI
2: Hand wheel
opmode opmode Discrete 3: Single step
4: Automatic
5: Other
6: Smart
7: Axes ref
progname progname Text Name of the program selected in automatic
Read the currently sequence number of the
runseq runseq Analog
NC program
ovfeed ovfeed Analog Read feed rate override
ovspin ovspin Analog Read spindle speed override
ovrapid ovrapid Analog Read rapid override
Program status
0: Started
1: Stopped
2: Finished
progstat progstat Discrete 3: Canceled
4: Interrupted
5: Error
6: Error cleared
7: Idle
Text
almnum almnum Read alarm number by array
(Array)
Text
almmsg almmsg Read alarm message by array
(Array)
Text
almclass almclass Read alarm class by array
(Array)
Text
almgroup almgroup Read alarm group by array
(Array)
ncuptime ncuptime Text NC uptime
muptime muptime Text Machine uptime
mruntime mruntime Text Machine running time
sruntime sruntime Text Spindle running time

83 Advantech WebAccess/CNC User Manual


Table 4.35: HEIDENHAIN iTNC530 Driver Tag List (LSV2)
toolnum toolnum Analog Tool number in use
toolaxis toolaxis Text Tool axis
toollen toollen Analog Tool length
toolrad toolrad Analog Tool radius
mcode plc:w260 Analog Read M code by plc address
fcode plc:d360 Analog Read F code by plc address
tcode plc:w264 Analog Read T code by plc address
scode plc:w320 Analog Read S code by plc address
actfeed plc:d388 Analog Read actual feed rate by plc address
Analog
actspin plc:w322 Read actual spindle speed by plc address
(Array)
Analog
servload plcs:w9772 Read servo load by plc address
(Array)
Analog
servsped plc:d9192 Read servo speed by plc address
(Array)
servtemp plc:w7216 Analog Read servo temperature by plc address
spinload plc:w9804 Analog Read spindle load by plc address
spinsped plc:w322 Analog Read spindle speed by plc address
spintemp plc:w7248 Analog Read spindle temperature by plc address
spinvibr plc:w16500 Analog Read spindle vibration by plc address
pcount plc:w20 Analog Read part count by plc address
isalarm plc:m4177 Discrete Read alarm status by plc address
emg plc:m4178 Discrete Read emergency stop by plc address
Flag (0->1) from getting a NC program as
getmpgm getmpgm Discrete
mqnc from CNC memory
NC program name under the CNC mncdir
mqnc mqnc Text
folder
Flag (0->1) from uploading a NC program as
upmpgm upmpgm Discrete
upmnc to CNC mncdir folder
The file name or the name with the source
path.
upmnc upmnc Text
EX 1: ABC.H (under the pgm folder)
EX 2: C:\ncfiles\ABC.H
Flag (0->1) from deleting a NC program as
delmpgm delmpgm Discrete
delmname under CNC mncdir folder
The file name will be deleted under CNC mnc-
delmname delmname Text
dir folder
mncdir mncdir Text The destination directory of CNC.
Flag (0 ->1) from getting the NC program list
getmlist getmlist Discrete under CNC mncdir folder including mdirname,
mdirtime, mncname, mnctime and mncsize.
Text Read the folder name under CNC mncdir
mdirname mdirname
(Array) folder by array
Text Read the folder time under CNC mncdir folder
mdirtime mdirtime
(Array) by array
Text Read NC program name under CNC mncdir
mncname mncname
(Array) folder by array
Analog Read NC program size under CNC mncdir
mncsize mncsize
(Array) folder by array
Text Read NC program modification date under
mnctime mnctime
(Array) CNC mncdir folder by array

Advantech WebAccess/CNC User Manual 84


Table 4.35: HEIDENHAIN iTNC530 Driver Tag List (LSV2)

Chapter 4
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Note! When CNC manufacturer using Heidenhain iTNC 530 controller has dif-
ferent PLC address definition, the user can adjust the driver address to

WebAccess/CNC Runtime & Driver List


match the manufacturer PLC setting to get the correct tag’s value.

Table 4.36: HEIDENHAIN TNC640 Driver Tag List (LSV2_640)


Tag Name Address Type Description
ncmodel ncmodel Text TNC model
ncver ncver Text NC version
plcver plcver Text PLC version
optver optver Text The version of additional options
Text
axesname axesname Read axes name
(Array)
Text
axestype axestype Read axes type
(Array)
Analog
posrefar posrefar Read all reference position by array
(Array)
Analog
posactar posactar Read all actual position by array
(Array)
posref0 posref:0 Analog Read 1st reference position
posact0 posact:0 Analog Read 1st actual position
Operation mode
0: Manual
1: MDI
2: Hand wheel
opmode opmode Discrete 3: Single step
4: Automatic
5: Other
6: Smart
7: Axes ref
progname progname Text Name of the program selected in automatic
Read the currently sequence number of the
runseq runseq Analog
NC program
ovfeed ovfeed Analog Read feed rate override
ovspin ovspin Analog Read spindle speed override
ovrapid ovrapid Analog Read rapid override

85 Advantech WebAccess/CNC User Manual


Table 4.36: HEIDENHAIN TNC640 Driver Tag List (LSV2_640)
Program status
0: Started
1: Stopped
2: Finished
progstat progstat Discrete 3: Canceled
4: Interrupted
5: Error
6: Error cleared
7: Idle
Text
almnum almnum Read alarm number by array
(Array)
Text
almmsg almmsg Read alarm message by array
(Array)
Text
almclass almclass Read alarm class by array
(Array)
Text
almgroup almgroup Read alarm group by array
(Array)
ncuptime ncuptime Text NC uptime
muptime muptime Text Machine uptime
mruntime mruntime Text Machine running time
sruntime sruntime Text Spindle running time
mcode plc:w6295 Analog Read M code by plc address
fcode plc:d4420 Analog Read F code by plc address
tcode plc:d17972 Analog Read T code by plc address
scode plc:d18052 Analog Read S code by plc address
actfeed plc:d200 Analog Read actual feed rate by plc address
Analog
actspin plc:d336 Read actual spindle speed by plc address
(Array)
Analog
servload plcs:d192 Read servo load by plc address
(Array)
Analog
servsped plc:d252 Read servo speed by plc address
(Array)
servtemp plc:d188 Analog Read servo temperature by plc address
spinload plc:d304 Analog Read spindle load by plc address
spinsped plc:d344 Analog Read spindle speed by plc address
spintemp plc:d300 Analog Read spindle temperature by plc address
spinvibr plc:w16500 Analog Read spindle vibration by plc address
pcount plc:w10 Analog Read part count by plc address
isalarm plc:m68 Discrete Read alarm status by plc address
emg plc:m56 Discrete Read emergency stop by plc address
Flag (0->1) from getting a NC program as
getmpgm getmpgm Discrete
mqnc from CNC memory
NC program name under the CNC mncdir
mqnc mqnc Text
folder
Flag (0->1) from uploading a NC program as
upmpgm upmpgm Discrete
upmnc to CNC mncdir folder
The file name or the name with the source
path.
upmnc upmnc Text
EX 1: ABC.H (under the pgm folder)
EX 2: C:\ncfiles\ABC.H

Advantech WebAccess/CNC User Manual 86


Table 4.36: HEIDENHAIN TNC640 Driver Tag List (LSV2_640)

Chapter 4
Flag (0->1) from deleting a NC program as
delmpgm delmpgm Discrete
delmanme under CNC mncdir folder
The file name will be deleted under CNC mnc-
delmname delmname Text
dir folder
mncdir mncdir Text The destination directory of CNC.
Flag (0 ->1) from getting the NC program list
getmlist getmlist Discrete under CNC mncdir folder including mdirname,
mdirtime, mncname, mnctime and mncsize.
Text Read the folder name under CNC mncdir

WebAccess/CNC Runtime & Driver List


mdirname mdirname
(Array) folder by array
Text Read the folder time under CNC mncdir folder
mdirtime mdirtime
(Array) by array
Text Read NC program name under CNC mncdir
mncname mncname
(Array) folder by array
Analog Read NC program size under CNC mncdir
mncsize mncsize
(Array) folder by array
Text Read NC program modification date under
mnctime mnctime
(Array) CNC mncdir folder by array
CNC connection status
0: DISCONNECT
MASTATUS MASTATUS Discrete 1: RUN (only for AUTO mode)
2: IDLE
3: ALARM

Note! When CNC manufacturer using Heidenhain TNC 640 controller has dif-
ferent PLC address definition, the user can adjust the driver address to
match the manufacturer PLC setting to get the correct tag’s value.

Table 4.37: HEIDENHAIN LSV2 Driver Error Codes


Error Code Description
0x8001 Connection fail
0x8002 Incorrect tag address

87 Advantech WebAccess/CNC User Manual


Advantech WebAccess/CNC User Manual 88
Chapter 5
5 WebAccess/CNC
Driver for FANUC
Robot
5.1 About FANUC Robot
FANUC Robot Interface is the Windows software module to read/write robot data with
robots over Ethernet. WebAccess/CNC driver for FANUC robot interface can access
a robot's current position, position registers, string registers, comments, system vari-
ables, KAREL variables, program status and alarm history. FANUC Robot Interface
does not directly support file transfer so an FTP client should be used instead.

5.1.1 Specification
Supports Robot Controllers List
 Fanuc Robot Controllers:
– R-J3iB 7D80/45 or later
– R-J3iB 7D81/09 or later
– R-J3iB 7D82/01 or later
– R-J3iB Mate 7D91/01 or later
– R-30iA, R-30iA Mate All Versions (*)
– R-30iB, R-30iB Mate All Versions (*)
– R-30iB Plus, R-30iB Mate Plus, R-30iB Compact Plus All Versions (*)
(*) If R650 FRA Params is selected, R553 “HMI Device (SNPX)” is needed. If R651
FRL Params is selected, no option is needed

 Common Fanuc Robot:


– LR Mate 200iD
– M-10iA
– M-20iA
– M-710iC
– R-2000iC
– M-900iB
– M-2000iA
– M-410iC

5.2 Establish the CNC Driver for FANUC Robot


The steps in summary are:
1. Start Internet Explorer Web Browser.
2. Enter the IP address of the Project Node.
3. Use WebAccess configuration.
4. Open or create a project.
5. Configure a SCADA node (the PC that will connect to the automation hard-
ware).
6. Configure a com port for the SCADA Node that is a TCPIP type com port.

The TCPIP Comport is usually associated with an Ethernet Network Interface Card
on the SCADA Node PC. Any TCPIP compatible medium is supported as long as it
complies with Microsoft TCPIP protocol stack. The user should give the setting for
comport number, scan time, timeout, retry count, auto recover time and scan devices
in parallel according to your actual connection requirements.

Advantech WebAccess/CNC User Manual 90


Chapter 5
WebAccess/CNC Driver for FANUC Robot
For the “Add Device” step, the user needs to set the device name, unit number,
device type and the IP address and port number by the FANUC robot controller set-
ting. The default port number is not necessary for this robot driver.

Table 1 Refresh TimeMs: 1000 ms


Set how often millisecond updates the point of Date Table1
Table 2 Refresh TimeMs: 5000 ms
Set how often millisecond updates the point of Date Table2
IO Refresh TimeMs: 1000 ms
Set how often millisecond updates the point of I/O

91 Advantech WebAccess/CNC User Manual


FANUC Robot's tags can be divided into I/O measuring points and Data Table mea-
suring points. Data Table measuring points can be chosen to set two tables (Data
Table1 & Data Table 2) to different sampling frequencies. The measurement points
are preset on DataTable1. To set it to DataTable2, add "/2" at the end of tag address,
as follows:
Eg.
CurPos.1.X/2
Alarm.Current.1.AlarmID/2
NumReg.1/2
The address of Fanuc Robot IO can be modified by the user's requirement. If the
user want to read AI100 and RDI20, the user can add the two new tags AI100 &
RDI20 and modify the address as:
Tags Address
AI100 AI.100
RDI20 RDI.20
Fanuc Robot driver supports array tags for the current alarm and the history alarm.
The user can set the size of the alarm tag to decide the array size. For example, the
size of the tag "HAID1" is 100 that means the history alarm ID includes index 0 to 99.

5.3 CNC Driver List for FANUC Robot

Table 5.1: FANUC Robot Driver Tag List (I/O)


Tag Name Address Type Description
ClearAlm ClearAlarm Discrete Clear Robot's History Alarm
AI1 AI.1 Analog Analog Input, AI(1)
AO1 AO.1 Analog Analog Output, AO(1)
UI01 UI.1 Discrete IMSTP (Emergency Stop)
UI02 UI.2 Discrete HOLD
UI03 UI.3 Discrete SFSPD (Safe Speed)
UI04 UI.4 Discrete Cycle Stop
UI05 UI.5 Discrete Fault Reset
UI06 UI.6 Discrete Start
UI07 UI.7 Discrete Home Signal
UI08 UI.8 Discrete Enable
UI09 UI.9 Discrete RSR/PNS 1
UI10 UI.10 Discrete RSR/PNS 2
UI11 UI.11 Discrete RSR/PNS 3
UI12 UI.12 Discrete RSR/PNS 4
UI13 UI.13 Discrete RSR/PNS 5
UI14 UI.14 Discrete RSR/PNS 6
UI15 UI.15 Discrete RSR/PNS 7
UI16 UI.16 Discrete RSR/PNS 8
UI17 UI.17 Discrete PNS strobe
UI18 UI.18 Discrete Prod Start
UO01 UO.1 Discrete Command Enable
UO02 UO.2 Discrete System Ready
UO03 UO.3 Discrete Program Running

Advantech WebAccess/CNC User Manual 92


Table 5.1: FANUC Robot Driver Tag List (I/O)

Chapter 5
UO04 UO.4 Discrete Program Paused
UO05 UO.5 Discrete Motion Held
UO06 UO.6 Discrete Fault
UO07 UO.7 Discrete At Perch
UO08 UO.8 Discrete TP Enable
UO09 UO.9 Discrete Battery Alarm
UO10 UO.10 Discrete Busy
UO11 UO.11 Discrete RSR/PNS 1 ACK/SNO

WebAccess/CNC Driver for FANUC Robot


UO12 UO.12 Discrete RSR/PNS 2 ACK/SNO
UO13 UO.13 Discrete RSR/PNS 3 ACK/SNO
UO14 UO.14 Discrete RSR/PNS 4 ACK/SNO
UO15 UO.15 Discrete RSR/PNS 5 ACK/SNO
UO16 UO.16 Discrete RSR/PNS 6 ACK/SNO
UO17 UO.17 Discrete RSR/PNS 7 ACK/SNO
UO18 UO.18 Discrete RSR/PNS 8 ACK/SNO
UO19 UO.19 Discrete PNS Enable SNACK
UO20 UO.20 Discrete Reserve
RDI1 RDI.1 Discrete Robot Digital Input, RI(1)
RDO1 RDO.1 Discrete Robot Digital Output, RO(1)
SDI1 SDI.1 Discrete System Digital Input, DI(1)
SDO1 SDO.1 Discrete System Digital Output, DO(1)
GI1 GI.1 Analog Group Input, GI(1)
GO1 GO.1 Analog Group Output, GO(1)
SI0 SI.0 Discrete SOP Input, SI(0)
SO0 SO.0 Discrete SOP Output, SO(0)
WI1 WI.1 Analog WI Register, WI(1)
WO1 WO.1 Analog WO Register, WO(1)
WSI1 WSI.1 Analog WSI Register, WSI(1)
D1 D.1 Analog D Register 1
K1 K.1 Analog K Register 1
R1 R.1 Analog R Register 1

Table 5.2: FANUC Robot Driver Tag List (Data Table)


Tag Name Address Type Description
CPX_G1 CurPos.1.X Analog Current Position X_G1
CPY_G1 CurPos.1.Y Analog Current Position Y_G1
CPZ_G1 CurPos.1.Z Analog Current Position Z_G1
CPW_G1 CurPos.1.W Analog Current Position W_G1
CPP_G1 CurPos.1.P Analog Current Position P_G1
CPR_G1 CurPos.1.R Analog Current Position R_G1
CPJ1_G1 CurPos.1.J1 Analog Current Position J1_G1
CPJ2_G1 CurPos.1.J2 Analog Current Position J2_G1
CPJ3_G1 CurPos.1.J3 Analog Current Position J3_G1
CPJ4_G1 CurPos.1.J4 Analog Current Position J4_G1
CPJ5_G1 CurPos.1.J5 Analog Current Position J5_G1
CPJ6_G1 CurPos.1.J6 Analog Current Position J6_G1

93 Advantech WebAccess/CNC User Manual


Table 5.2: FANUC Robot Driver Tag List (Data Table)
UFX_11 CurPosUF.1.1.X Analog User Frame X_G1_UF1
UFY_11 CurPosUF.1.1.Y Analog User Frame Y_G1_UF1
UFZ_11 CurPosUF.1.1.Z Analog User Frame Z_G1_UF1
UFW_11 CurPosUF.1.1.W Analog User Frame W_G1_UF1
UFP_11 CurPosUF.1.1.P Analog User Frame P_G1_UF1
UFR_11 CurPosUF.1.1.R Analog User Frame R_G1_UF1
UFJ1_11 CurPosUF.1.1.J1 Analog User Frame J1_G1_UF1
UFJ2_11 CurPosUF.1.1.J2 Analog User Frame J2_G1_UF1
UFJ3_11 CurPosUF.1.1.J3 Analog User Frame J3_G1_UF1
UFJ4_11 CurPosUF.1.1.J4 Analog User Frame J4_G1_UF1
UFJ5_11 CurPosUF.1.1.J5 Analog User Frame J5_G1_UF1
UFJ6_11 CurPosUF.1.1.J6 Analog User Frame J6_G1_UF1
Position Register Group1_In-
PRX_11 PosReg.1.1.X Analog
dex1_X
Position Register Group1_In-
PRY_11 PosReg.1.1.Y Analog
dex1_Y
Position Register Group1_In-
PRZ_11 PosReg.1.1.Z Analog
dex1_Z
Position Register Group1_In-
PRW_11 PosReg.1.1.W Analog
dex1_W
Position Register Group1_In-
PRP_11 PosReg.1.1.P Analog
dex1_P
Position Register Group1_In-
PRR_11 PosReg.1.1.R Analog
dex1_R
Position Register Group1_In-
PRJ1_11 PosReg.1.1.J1 Analog
dex1_J1
Position Register Group1_In-
PRJ2_11 PosReg.1.1.J2 Analog
dex1_J2
Position Register Group1_In-
PRJ3_11 PosReg.1.1.J3 Analog
dex1_J3
Position Register Group1_In-
PRJ4_11 PosReg.1.1.J4 Analog
dex1_J4
Position Register Group1_In-
PRJ5_11 PosReg.1.1.J5 Analog
dex1_J5
Position Register Group1_In-
PRJ6_11 PosReg.1.1.J6 Analog
dex1_J6
Analog
CAID1 Alarm.Current.1.AlarmID Current Alarm1 ID
(Array)
Analog
CANum1 Alarm.Current.1.AlarmNumber Current Alarm1 Number
(Array)
Text
CAMes1 Alarm.Current.1.AlarmMessage Current Alarm1 Message
(Array)
Analog
CACID1 Alarm.Current.1.CauseAlarmID Current Alarm1 Cause Alarm ID
(Array)
Alarm.Current.1.CauseAlarm- Analog Current Alarm1 Cause Alarm
CACNo1
Number (Array) Number
Alarm.Current.1.CauseAlarm- Text Current Alarm1 Cause Alarm
CACMe1
Message (Array) Message
Analog
CASer1 Alarm.Current.1.Severity Current Alarm1 Severity
(Array)

Advantech WebAccess/CNC User Manual 94


Table 5.2: FANUC Robot Driver Tag List (Data Table)

Chapter 5
Alarm.Current.1.SeverityMes- Text Current Alarm1 Severity Mes-
CASMe1
sage (Array) sage
Analog
CAYea1 Alarm.Current.1.Year Current Alarm1 Year
(Array)
Analog
CAMon1 Alarm.Current.1.Month Current Alarm1 Month
(Array)
Analog
CADay1 Alarm.Current.1.Day Current Alarm1 Day
(Array)
Analog

WebAccess/CNC Driver for FANUC Robot


CAHou1 Alarm.Current.1.Hour Current Alarm1 Hour
(Array)
Analog
CAMin1 Alarm.Current.1.Minute Current Alarm1 Minute
(Array)
Analog
CASec1 Alarm.Current.1.Second Current Alarm1 Second
(Array)
Analog
HAID1 Alarm.History.1.AlarmID History Alarm1 ID
(Array)
Analog
HANum1 Alarm.History.1.AlarmNumber History Alarm1 Number
(Array)
Text
HAMes1 Alarm.History.1.AlarmMessage History Alarm1 Message
(Array)
Analog
HACID1 Alarm.History.1.CauseAlarmID History Alarm1 Cause Alarm ID
(Array)
Alarm.History.1.CauseAlarm- Analog History Alarm1 Cause Alarm
HACNo1
Number (Array) Number
Alarm.History.1.CauseAlarm- Text History Alarm1 Cause Alarm
HACMe1
Message (Array) Message
Analog
HASer1 Alarm.History.1.Severity History Alarm1 Severity
(Array)
Alarm.History.1.SeverityMes- Text History Alarm1 Severity Mes-
HASMe1
sage (Array) sage
Analog
HAYea1 Alarm.History.1.Year History Alarm1 Year
(Array)
Analog
HAMon1 Alarm.History.1.Month History Alarm1 Month
(Array)
Analog
HADay1 Alarm.History.1.Day History Alarm1 Day
(Array)
Analog
HAHou1 Alarm.History.1.Hour History Alarm1 Hour
(Array)
Alarm.History.1.Minute
HAMin1 Analog History Alarm1 Minute
(Array)
Alarm.History.1.Second
HASec1 Analog History Alarm1 Second
(Array)
NUM_R1 NumReg.1 Analog Number Register 1
SysVar.Int.$MNUFRAME- System INT Variable_Fra-
SVI_FNo Analog
NUM[1] meNumber
System INT Variable_ToolNum-
SVI_TNo SysVar.Int.$MNUTOOLNUM[1] Analog
ber
SysVar.Int.$MCR.$GENOVER-
SVI_OV Analog System INT Variable_Override
RIDE
SysVar.Int.$SYSTEM_- System INT Variable_OnPower-
SVI_PowT Analog
TIME[1].PWR_TOT Time

95 Advantech WebAccess/CNC User Manual


Table 5.2: FANUC Robot Driver Tag List (Data Table)
SysVar.Int.$SYSTEM_- System INT Variable_ServoOn-
SVI_SOnT Analog
TIME[1].SRV_TOT Time
SysVar.Int.$SYSTEM_- System INT Variable_Running-
SVI_RunT Analog
TIME[1].RUN_TOT Time
SysVar.Int.$SYSTEM_- System INT Variable_Waiting-
SVI_WaiT Analog
TIME[1].WIT_TOT Time
SVI_FC SysVar.Int.$FAST_CLOCK Analog System INT Variable_FastClock
Sys-
System FLOAT Vari-
SVF_G1PL Var.Float.$PLST_GRP1[1].$PA Analog
able_G1Payload
YLOAD
System FLOAT Variable_Duty
SVF_DT SysVar.Float.$DUTY_TEMP Analog
Temperature
System STRING Variable_Ver-
SVS_Ver SysVar.String.$VERSION Text
sion
TNLine1 Task.Normal.1.LineNumber Analog Task 1 Normal Line Number
TNS1 Task.Normal.1.State Analog Task 1 Normal State
Task.Normal.1.Parent- Task 1 Normal Parent Program
TNPP1 Text
ProgName Name
TNProg1 Task.Normal.1.ProgName Text Task 1 Normal Program Name
STR_R1 String.13.1 Text String Register 1
CM_STR1 String.14.1 Text Comment of String Register 1
CM_NUM1 String.15.1 Text Comment of Number Register 1
CM_POS1 String.16.1 Text Comment of Position Register 1
CM_SDI1 String.17.1 Text Comment of SDI 1
CM_SDO1 String.18.1 Text Comment of SDO 1
CM_RDI1 String.19.1 Text Comment of RDI 1
CM_RDO1 String.20.1 Text Comment of RDO 1
CM_UI1 String.21.1 Text Comment of UI 1
CM_UO1 String.22.1 Text Comment of UO 1
CM_SI1 String.23.1 Text Comment of SI 1
CM_SO1 String.24.1 Text Comment of SO 1
CM_WI1 String.25.1 Text Comment of WI 1
CM_WO1 String.26.1 Text Comment of WO 1
CM_WSI1 String.27.1 Text Comment of WSI 1
CM_GI1 String.29.1 Text Comment of GI 1
CM_GO1 String.30.1 Text Comment of GO 1
CM_AI1 String.31.1 Text Comment of AI 1
CM_AO1 String.32.1 Text Comment of AO 1

Advantech WebAccess/CNC User Manual 96


Chapter 5
Table 5.3: FANUC Robot Driver Error Codes
Error Code Description
0x8001 Illegal tag address
0x8002 Can't call Fanuc Library
0x8003 Connection failed
0x8004 Invalid refresh object
0x8005 Invalid item value

WebAccess/CNC Driver for FANUC Robot


0x8006 Failed while reading I/O
0x8008 Failed when creating dispatch
0x8009 Refresh object failed
0x8B00 The measured value is not initialized
0x8C00 Driver executable file is not executed

97 Advantech WebAccess/CNC User Manual


Advantech WebAccess/CNC User Manual 98
Appendix A
A Other Instructions
A.1 FANUC Alarm Messages of WebAccess/CNC
By default, WebAccess/CNC alarm messages for FANUC series machines are in
English. You can copy the built-in EN/TC/SC alarm message files (the default path is
C:\WebAccess\Node\WebAccessCNC\message) and change the file name “alarm-
Message.ini” and copy it to the device folder in your SCADA project (ex: C:\WebAc-
cess\Node\Project name_Node name\pgm\Device name).
You can also modify the message to suit specific CNC applications or user needs.

Figure A.1 EN/TC/SC Alarm Message Files for FANUC

Figure A.2 Default Alarm Message File Location

Advantech WebAccess/CNC User Manual 100


Appendix A Other Instructions
Table A.1: FANUC Alarm Class List
Alarm List Class Number Description
(SW) 0 Parameter switch on
(PW) 1 Power off parameter set
(IO) 2 I/O error
(PS) 3 Foreground P/S
(OT) 4 Over travel, external data
(OH) 5 Overheat alarm
(SV) 6 Servo alarm
(SR) 7 Data I/O error
(MC) 8 Macro alarm
(SP) 9 Spindle alarm
(DS) 10 Other alarm (DS)
(IE) 11 Alarm concerning malfunction prevention
(BG) 12 Background P/S
(SN) 13 Synchronized error
? 14 (reserved)
(EX) 15 External alarm message
(PC) 19 PMC error
20~31 (Not used)

A.2 User Password and User Access Levels for


SIEMENS OPC UA
You can use OPC UA client software as UaExpert to modify the user password and
user access level for SIEMENS OPC UA machines. First, you should enter the sys-
tem administrator password (default password = “OpcUaClient”) and activate OPC
UA in the SIEMENS OPC UA configuration dialog box, as follows:

Figure A.3 SIEMENS OPC UA Configuration

101 Advantech WebAccess/CNC User Manual


When using UaExpert to connect to SIEMENS OPC UA machines, you can change
the administrator password, as follows:
Path: Root\Objects\Sinumerik\Methods\ChangeMyPassword

Figure A.4 Calling the ChangeMyPassword Object

Figure A.5 Changing the Administrator Password

Advantech WebAccess/CNC User Manual 102


To change the user access level, you should add a new user named “WebAccess”

Appendix A Other Instructions


when using UaExpert to connect SIEMENS OPC UA machines, as follows:
Path: Root\Objects\Sinumerik\Methods\AddUser

Figure A.6 Calling the AddUser Object

Figure A.7 Adding a New Administrator Account

103 Advantech WebAccess/CNC User Manual


After adding a new user as “WebAccess”, you can modify the user access level to be
read and write, as follows:
Path: Root\Objects\Sinumerik\Methods\GiveUserAccess

Figure A.8 Calling the ChangeMyPassword Object

Figure A.9 Giving Read Access to an Administrator Account

Advantech WebAccess/CNC User Manual 104


Appendix A Other Instructions
Figure A.10 Giving Write Access to an Administrator Account

Figure A.11 SIEMENS OPC UA Username/Password (CNC Device Settings)

105 Advantech WebAccess/CNC User Manual


WebAccess CNC runtime is only designed to support Siemens OPC UA V4.5 and
V4.7. They do not support communcation signing and encryption. Please note that in
the OPC UA setting in Siemens CNC, "Message Encryption" should only be set
"None" and should not allow anonymous access in "Authentication". However, Web-
Access CNC driver is designed to support Siemens OPC UA V4.5, V4.7 and V4.8.
The communication signing and encryption are supported when using WebAccess
CNC driver.

A.3 How to use DPRNT for FANUC CNC


For RS232 applications, the user needs to set the relative CNC parameters with the
communication settings specified by WebAccess/CNCdriver. We recommend cus-
tomers to use the first set of RS232 for general purpose on CNCs to avoid customers
already having other applications such as touch panels in the second set of RS232.
The specified parameter settings of communication with FANCU CNC series are
listed as FANUC series 16/18/21, 0i, 16i/18i/21i, 30i/31i/32i & FANUC power mate,
power mate i.

Parameter No Setting value Explanation


0000#1 (ISO) 1 (recommend) Data output code (ISO)
0020 0 (recommend) Channel 0 for data output
0110#0 (IO4) 0 I/O channels not separately controlled
0101#0 (SB2) 1 (recommend) Channel 0: Stop bits is 2
0101#3 (ASI) 0 (recommend) Channel 0: ISO code
0101#7 (NFD) 1 (recommend) Channel 0: No feed output
0102 0 Channel 0: RS232-C (DC1 to DC4)
0103 10 (recommend) Channel 0: 4800 bps
6001#1 (PRT) 1 (recommend) Don’t output space
6001#4 (CRO) 0 (recommend) Output only “LF” after data is output

Please refer the FANUC connection manual (hardware) about the RS232 interface
and the connector definition.

Advantech WebAccess/CNC User Manual 106


10.4” LCD unit and 8.4” LCD/MDI unit

Appendix A Other Instructions


Port name Interface location I/O Channel
1CH (JD36A) Main control unit 0, 1
2CH (JD36B) Main control unit 2

15” LCD unit

Port name Interface location I/O Channel


1CH (JD56A) Main control unit 0, 1
2CH (JD36A) Main control unit 2

107 Advantech WebAccess/CNC User Manual


The RS232 cable (non-handshaking) is suitable for FANUC DPRNT application as

Macro commands available in FANUC CNC allow the CNC to output information
while it runs. The user can use a DPRNT command to output data to a terminal or
serial printer. The relative macro commands as the following order:
Open command: POPEN
Data output command: DPRNT
Close command: PCLOS

These external output commands can be specified for an external input/output device
including RS232-C, memory card, USB memory, data server and embedded Ether-
net by the FANUC I/O channel parameter. Using DPRNT command, FANUC CNC
can output characters and each digit in the value of a variable. The data command
DPRNT is shown as DPRNT[a#b[cd]]
a: character
#b: variable
c: number of significant digits in the integer part
d: number of significant decimal places

Advantech WebAccess/CNC User Manual 108


The commanded character string is output as it is by the ISO code. Alphanumerics

Appendix A Other Instructions


(A to Z, 0 to 9) and special chara cters (+, -, *, /) can be used. Note that asterisk (*) is
output as a space code.
For the use of WebAccess driver, specify that one variable per line is allowed when
using DPRNT and use * to make a space between the tag address and the variable
or the characters. In the WebAccess project, you can use a to be the tag’s address
when using the DPRNT driver. We will recommend that the address has the same
word length to avoid the problem of misjudgment of the address name. Suggested
samples are as follows:

Tag’s name Tag’s address Type


MNName STRING001 Text
PNName STRING002 Text
NCDate STRING003 Text
NCTime STRING004 Text
… … Text
pcount ANALOG001 Analog
prequire ANALOG 002 Analog
… … Analog

In the FANUC CNC, customers can add the designed subprogram and use M98 to
call the subprogram in the proper program flow to output the desired data via RS232
interface. For example, the subprogram (O6000) including DPRNT commands is
listed as:
%
O6000
POPEN
DPRNT[STRING001*0BCL110601] (output characters sample)
DPRNT[STRING002*TR082017] (output characters sample)
DPRNT[ANALOG001*#3901[80]] (output variable’s value sample)
DPRNT[ANALOG002*#3902[80]] (output variable’s value sample)
DPRNT[………..] (output other data)
PCLOS
M99
%

In the WebAccess, customers can add the serial port and set the device as the
device type “DPRNT”. The parameter “Line Indicator” is decided by the CNC param-
eter 6001#4(CRO) setting. When only using “LF”, the line indicator should be set to
0x0a. When using “LF” and “CR”, the line indicator should be set to 0x0a8d. The
“Idle Timeout” is used to determine the time out value. When the set time out is
exceeded, the tag’s value will be cleared. If customers want to keep the last tag’s
value even the set time out is exceeded, the “Idle Timeout” can be set to 0 to disable
the time out function.
When connecting to FANUC CNC RS232 interface, please use a PC’s RS232 or
Advantech EKI serial device instead of using the USB to RS232 converter to avoid
the packet to be unreadable situation.

109 Advantech WebAccess/CNC User Manual


The error code of the DRPNT driver is defined as

Code Meaning
0x8001 Internal error
0x8002 Line indicator format error
0x8003 COM port error
0x8004 No tag’s value obtained under this device
0x8101 No tag’s value obtained
0x8102 ISO code transcoding error

Advantech WebAccess/CNC User Manual 110


A.4 Supported CNC Functions List

Appendix A Other Instructions


Table A.2: Supported CNC Functions List -1
Connection method CNC Runtime
CNC controller FANUC MITSUBISHI SIEMENS HEIDENHAIN
Coordinate ○ ○ ○ ○
G Code & Other Code ○ ○ ○ ○
Part Count ○ ○ ○ ○
Operation Time ○ ○ ○ ○
Information ○ ○ ○ ○
Status ○ ○ ○ ○
Spindle & Servo Axes ○ ○ ○ ○
Alarm ○ ○ ○ ○
Message ○
Macro ○ ○ ○
Work Coordinator ○ ○ ○
Tool Offset ○ ○ ○ ○
Tool Life
PLC register ○ ○ ○ ○
NC Transfer DNC tool DNC tool DNC tool DNC tool

Table A.3: Supported CNC Functions List -2


Connection method CNC Driver
CNC controller FANUC MITSUBISHI SIEMENS OPC UA SIEMENS S7/TCP
Coordinate ○ ○ ○
G Code & Other Code ○ ○ ∆
Part Count ○ ○ ○
Operation Time ○ ○ ○
Information ○ ○ ○ ○
Status ○ ○ ○ ○
Spindle & Servo Axes ○ ○ ∆ ∆
Alarm ○ ○ ○ ∆
Message ○ ∆
Macro ○ ○ ○
Work Coordinator ○ ○ ○
Tool Offset ○ ○
Tool Life ○ ○
PLC register ○ ○ ○ ○
NC Transfer DNC tool DNC tool DNC tool

111 Advantech WebAccess/CNC User Manual


Table A.4: Supported CNC Functions List -3
Connection method CNC Driver
CNC controller HEIDENHAIN brother OKUMA Haas
LSV2
LSV2
Coordinate ○ ○ ○
G Code & Other Code ∆ ∆ ∆
Part Count ○ ○ ○ ○
Operation Time ○ ○ ○ ○
Information ○ ○ ○ ○
Status ○ ○ ○ ○
Spindle & Servo Axes ○ ∆ ○ ∆
Alarm ○ ○ ○ ∆
Message
Macro ○ ○ ○
Work Coordinator ○ ∆
Tool Offset ○ ∆
Tool Life ○
PLC register ○ ○
NC Transfer ○ DNC tool Shared folder

Table A.5: Supported CNC Functions List -4


Connection method CNC Driver
CNC controller LNC SYNTEC FAGOR Roders
Coordinate ○ ○ ○
G Code & Other Code ○ ∆
Part Count ○ ○ ○ ○
Operation Time ○ ○
Information ○ ○ ○ ○
Status ○ ○ ○ ∆
Spindle & Servo Axes ∆ ○ ∆
Alarm ∆ ○ ∆
Message ∆
Macro ○
Work Coordinator ○ ○
Tool Offset
Tool Life
PLC register ○
NC Transfer DNC tool Shared folder Shared folder

Advantech WebAccess/CNC User Manual 112


Appendix A Other Instructions
Table A.6: Supported CNC Functions List -5
Connection method CNC Driver
Robot controller FANUC KUKA
Coordinate ○ ○
System variable ○ ○
Operation Time ○ ○
Information ○ ○
Status ○ ○
Alarm ○
PLC register ○ ○
File Transfer FTP FTP

○: Supported function
∆: Partial supported function

113 Advantech WebAccess/CNC User Manual


www.advantech.com
Please verify specifications before quoting. This guide is intended for reference
purposes only.
All product specifications are subject to change without notice.
No part of this publication may be reproduced in any form or by any means,
electronic, photocopying, recording or otherwise, without prior written permis-
sion of the publisher.
All brand and product names are trademarks or registered trademarks of their
respective companies.
© Advantech Co., Ltd. 2023

You might also like