Advantech WebAccess/SCADA Browser-Based SCADA Software User Manual


Add to my manuals
98 Pages

advertisement

Advantech WebAccess/SCADA Browser-Based SCADA Software User Manual | Manualzz
User Manual
Advantech
WebAccess/CNC
CNC Machine Monitoring
Solution
Part No. 2003WACN06
Edition 7
Printed in Taiwan
July 2021
Advantech WebAccess/CNC User Manual
ii
Contents
Chapter
Chapter
1
Advantech WebAccess/CNC ..............1
1.1
1.2
Advantech WebAccess/CNC .................................................................... 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
2
Getting Started.....................................5
2.1
2.2
WebAccess/CNC Installation .................................................................... 6
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
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
Start Mode and Watchdog Functions of WebAccess CNC Runtime....... 14
Figure 2.9 Set up the watchdog tool of CNC runtime in User Program ......................................................................... 14
2.3
2.4
Chapter
3
3.1
3.2
WebAccess/CNC Runtime
Web Functions15
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
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 Applied .......................................................................... 21
Figure 3.11Directly Access the WebAccess/CNC Device Information Page .................................................................. 21
Table 3.2: WebAccess/CNC page parameter definition ............ 22
iii
Advantech WebAccess/CNC User Manual
Chapter
4
4.1
4.2
Chapter
5
5.1
5.2
5.3
WebAccess/CNC Runtime & Driver
List23
CNC Runtime API List ............................................................................ 24
Table 4.1: Supports APIs (See the SKYMARS API Manual) .... 24
CNC Runtime and CNC Driver List......................................................... 25
Table 4.2: Driver Block Type List .............................................. 25
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN, 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 Tag Error Codes ........................... 38
Table 4.7: Brother CNC Driver Tag List .................................... 39
Table 4.8: Brother CNC Driver Error Codes.............................. 44
Table 4.9: FANUC CNC Driver Tag List (FOCAS) .................... 45
Table 4.10:FOCAS CNC Driver Error Codes ............................. 52
Table 4.11:HAAS CNC Driver Tag List (HAAS) ......................... 52
Table 4.12:HAAS CNC Driver Error Codes................................ 53
Table 4.13:SYNTEC CNC OPC UA Driver Tag List (SYNTEC). 53
Table 4.14:SYNTEC CNC OPC UA Driver Error Codes ............ 54
Table 4.15:FAGOR CNC Driver Tag List (FAGOR) ................... 54
Table 4.16:FAGOR CNC Driver Error Codes............................. 55
Table 4.17:RMS6-ERP Driver Tag List (RODERS).................... 56
Table 4.18:Table 4.18: RMS6-ERP Driver Error Codes............. 57
Table 4.19:OKUMA CNC Driver Tag List (OKUMUM) ............... 57
Table 4.20:OKUMA CNC Driver Tag List (OKUMUL) ................ 59
Table 4.21:OKUMA CNC Driver Error Codes ............................ 61
Table 4.22:SIEMENS CNC Driver Tag List (S840D).................. 61
Table 4.23:SIEMENS CNC Driver Tag List (S828D).................. 62
Table 4.24:SIEMENS Driver Error Codes .................................. 62
Table 4.25:MITSUBISHI CNC Driver Tag List............................ 63
Table 4.26:MITSUBISHI Driver Error Codes.............................. 67
Table 4.27:KUKA Robot Driver Tag List (OPC UA) ................... 67
Table 4.28:KUKA Robot Driver Error Codes .............................. 71
WebAccess/CNC Driver for FANUC
Robot73
About FANUC Robot............................................................................... 74
5.1.1 Specification ............................................................................... 74
Establish the CNC Driver for FANUC Robot........................................... 74
CNC Driver List for FANUC Robot .......................................................... 76
Table 5.1: CNC Driver Tag List (FANUC Robot I/O) ................. 76
Table 5.2: CNC Driver Tag List (FANUC Robot Data Table) .... 77
Table 5.3: CNC Driver Error Code (FANUC Robot) .................. 81
Appendix A
Other Instructions............................. 83
A.1
FANUC Alarm Message of WebAccess/CNC ......................................... 84
Figure A.1 EN/TC/SC Alarm Message Files for FANUC ........... 84
Figure A.2 Default Alarm Message File Location....................... 84
Table A.1: FANUC Alarm Class List .......................................... 85
User Password and User Access Level for SIEMENS OPC UA............. 85
Figure A.3 SIEMENS OPC UA Configuration ............................ 85
Figure A.4 Calling the ChangeMyPassword Object................... 86
A.2
Advantech WebAccess/CNC User Manual
iv
A.3
Figure A.5 Changing the Administrator Password ..................... 86
Figure A.6 Calling the AddUser Object ...................................... 87
Figure A.7 Adding a New Administrator Account ....................... 87
Figure A.8 Calling the ChangeMyPassword Object ................... 88
Figure A.9 Giving Read Access to an Administrator Account .... 88
Figure A.10Giving Write Access to an Administrator Account .... 89
Figure A.11SIEMENS OPC UA Username/Password (CNC Device
Settings) ................................................................... 89
Supported CNC Functions List................................................................ 90
v
Advantech WebAccess/CNC User Manual
Advantech WebAccess/CNC User Manual
vi
Chapter
1
Advantech
WebAccess/CNC
1
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 visualization. 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 acquisition 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:
 Through CNC runtime
 Using a CNC driver
WebAccess/CNC runtime supports various CNC types (e.g., FANUC, MITSUBISHI,
SIEMENS, and HEIDENHAIN) and web functions. WebAccess/CNC driver supports
CNC drivers (LNC Recon library, Brother, FANUC FOCAS library, HAAS, SYNTEC
OPC UA, OSP-API, S7/TCP, EZSocket) and the robot driver (FANUC robot interface
& KUKA OPC UA).
1.2.1 Web Functions (Only for WebAccess/CNC runtime)








CNC Overview:
Provides real-time information on connection status, operation mode, CNC status, 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 important 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 damage to tools.
PLC Parameters:
Provides an instant query interface to obtain PLC register values which facilitates defining the I/O status requirements of CNC controllers.
Advantech WebAccess/CNC User Manual
2





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 crossplatform compatibility.
Provides the full functionality of WebAccess professional version.
Upgradeable to increase the number of available CNC and robot connections.
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.
 FANUC: 0i-A/B/C/D/F, 16i, 18i 21i,31i, 32i (FOCAS library requirement).
 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, M900iB, 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: 840Dsl, 840D, 810D & 828D (via S7/TCP protocol).
 MITSUBISHI: M700/M70, M800/M80 series. (FCSB1224W100 runtime library
requirement).
 KUKA ROBOT: KR C4 & C5 controller (KUKA.Device Connector 2.1 OPC UA
requirement).
Note!
The WebAccess/CNC driver can connect more than 50 CNCs simultaneously. 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.
3
Advantech WebAccess/CNC User Manual
Advantech WebAccess/CNC
1.2.3 Specifications
Chapter 1
1.2.2 Features
Multi-Language Support for WebAccess/CNC Runtime

EN/TC/SC/JP
SCADA Software
 Advantech WebAccess 8.4 Professional or later
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 or later for full support
– For dashboard support only, use Chrome (Version 37 or later), Firefox (Version 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
Getting Started
2
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
3.
Click Next to confirm the installation.
Getting Started
Select which items you wish to install.
Chapter 2
2.
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
The CNC Device Settings screen in WebAccess/CNC is for configuring CNC runtime 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.
Figure 2.1 Device Settings for CNC Runtime
9
Advantech WebAccess/CNC User Manual
Getting Started
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.
Chapter 2
2.2 CNC Device Setting for Using CNC Runtime
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
Note!
You can right-click on the WebAccess CNC Runtime icon in the notification area to exit the runtime service.
The CNC runtime settings will be recorded in the corresponding path of the installation sector as "C:\XML\SkyMarsNoUISet.xml".
11
Advantech WebAccess/CNC User Manual
Getting Started
Figure 2.4 WebAccess CNC Runtime
Chapter 2
There are two methods for starting CNC Runtime:
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 WebAccess CNC Runtime.
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
address and port number of WebAccess/CNC Runtime. The default port number is 9701. Note that "pmc" is the default key for both the Conn Key and the
Write Key.
Chapter 2

Getting Started
Figure 2.6 Runtime Device Selection

Driver Connection Setting: This screen (Figure 2.7) allows you to add the supported 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 settings of supported CNC and robot devices.
Figure 2.7 Driver Connection Setting


Start Searching: This screen allows you to search for the new connection settings 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
13
Advantech WebAccess/CNC User Manual
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:\WebAccessCNC 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 WDDSkymars.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
WebAccess/CNC
Runtime
Web Functions
3
3.1 CNC Web Functions
Projects created using WebAccess/CNC runtime provide seven main CNC tool functions:
 Overview
 Information
 CNC alarm
 Program
 Servo spin
 Set parameters
 PLC parameters
Note!
The seven CNC functions of the web pages are designed for the common 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
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.
3.1.3 The Availability Screen
The query tool provides details of CNC availability inquiries to assist you with handling 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
WebAccess/CNC Runtime Web Functions
Figure 3.2 Information Screen
Chapter 3
3.1.2 The Information Screen
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 follows:
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
This screen provides real-time monitoring information on spindle loading, which
allows you to analyze tool wear/damage.
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
WebAccess/CNC Runtime Web Functions
Figure 3.6 Servo Spin Screen
Chapter 3
3.1.6 The Servo Spin Screen
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
“menu” value
Information
0
2
6
32
64





Availability





CNC Alarm





Program










Set Parameters





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
WebAccess/CNC Runtime Web Functions
Servo Spin
Chapter 3
Table 3.1: WebAccess/CNC menu parameter definition
Each screen for the different CNC device functions can be accessed directly by setting the video display parameters “page” in your DRW file as follows:
uti:../WebAccessCNC/index.asp?device=H1&comport=1&page=program&hwnd=%HWND&
Table 3.2: WebAccess/CNC page parameter definition
Functions
Page Name
Overview
Information
Availability
CNC Alarm
Program
Servo Spin
Set Parameters
PLC Parameters
page=overview
page=info
page=avail
page=alarm
page=program
page=servo
page=parameter
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_information
GET_information_heid
GET_status
GET_position
GET_gcode
GET_othercode
GET_feed_spindle
GET_time
GET_time_heid
GET_part_count
GET_part_total
GET_part_required
GET_alm_current2
GET_msg_current
GET_alm_history2
GET_msg_history
GET_plc_alarm
GET_servo_current
GET_servo_load
GET_servo_speed
GET_spindle_load
GET_spindle_speed
GET_servo_temperature
GET_spindle_temperature
GET_utilization_all_today
GET_utilization_single_all
GET_nc_mem_list
Get the CNC connection status
Get basic correlation information
Get basic correlation information (HEIDENHAIN controller)
Get status information
Get the coordinate status
Get the G-code
Get other codes (H, D, T, M, B, F, and S)
Get the feed rate/spindle speed
Get the CNC system time
Get the CNC system time (HEIDENHAIN controller)
Get the part count
Get the total part count
Get the required part count
Get current occurring alarm
Get the operation message
Get the alarm history
Get the operation history
Get the PLC alarm history
Get current loads of all spindles
Get the servo load percentage (%)
Gethe servo speed
Get the percentage of spindle load (%)
Get the spindle speed
Get the servo motor temperature
Get the spindle temperature
Get the utilization rate data for the current day
Get all utilization rate data for a single machine
Get the NC list from the machine (memory)
Get the NC list from FTP (Fanuc Data Server/MITSUBISHI CF
card)
Get the NC list from local storage
Get the NC program content from memory
Get the NC program content from FTP (Fanuc Data Server/MITSUBISHI CF card)
Get the pointer (line) of the current NC
Get the NC of the current and next block
Upload NC data to memory
Upload NC data to FTP (Fanuc Data Server/MITSUBISHI CF
card)
Clear NC data from memory
Delete NC data from FTP (Fanuc Data Server/MITSUBISHI CF
card)
GET_nc_ftp_list
GET_nc_local_list (*)
GET_nc_mem_code
GET_nc_ftp_code
GET_nc_pointer
GET_nc_current_block
UPLOAD_nc_mem
UPLOAD_nc_ftp
DEL_nc_mem
DEL_nc_ftp
Advantech WebAccess/CNC User Manual
24
Get SIEMENS tool tables
Get SIEMENS tool edge parameters
(*): not SkyMars API
4.2 CNC Runtime and CNC Driver List
Table 4.2: Driver Block Type List
Block Type Name
Description
FANUC
MIT
HEID
SIEMENS
LNC
brotherB
brotherC
FOCAS
HAAS
SyntecUA
FRobot
FAGOR
For FANUC controllers using WebAccess/CNC runtime
For MITSUBISHI controllers using WebAccess/CNC runtime
For HEIDENHAIN controllers using WebAccess/CNC runtime
For SIEMENS controllers using WebAccess/CNC runtime
For Advantech LNC controllers using WebAccess/CNC driver
For B00 series brother controllers using WebAccess/CNC driver
For C00 series brother controllers using WebAccess/CNC driver
For FANUC controllers using WebAccess/CNC driver
For HAAS controllers using WebAccess/CNC driver
For Syntec CNC OPC UA agent using WebAccess/CNC driver
For FANUC robot controllers using WebAccess/CNC driver
For FAGOR controllers using WebAccess/CNC driver
For Roders controllers with ERP state using WebAccess/CNC
driver
For OKUMA Mill CNC using WebAccess/CNC driver
For OKUMA Lathe CNC using WebAccess/CNCdriver
For SIEMENS 840D/810D CNC using WebAccess/CNC driver
For SIEMENS 828D CNC using WebAccess/CNC driver
For MITSUBISHI CNC using WebAccess/CNC driver
For KUKA robot OPC UA server using WebAccess/CNC driver
RMS6_ERP
OKUMAM
OKUMAL
S840D
S828D
MitsuCNC
KukaUA
Note!
You can refer to the default driver block to create the new block for your
own project needs. The advantage is that it can quickly establish the
required tags and reduce the unnecessary load on the communication.
The block name you need to create cannot be the same as the default.
25
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Delete NC data from local storage
Set or assign NC data to the main program
Get the PLC version information
Get the PLC address of start and end number
Get the PLC status
Get the title of the tool offset
Get the offset of all tools
Write the offset of a single tool
Get data for all macro (common) variables
Set data for a single macro (common) variable
Chapter 4
DEL_nc_local (*)
SET_nc_main
GET_plc_ver
GET_plc_addr2
GET_plc_status2
GET_offset_title
GET_offset_all
SET_offset_single
GET_macro_all
SET_macro_single
GET_TOOL_TABLE_SIEMENS
GET_TOOL_EDGE_PARAMETER_SIEMENS
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 proDelFPgm
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 proDelMPgm
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 proDelLPgm
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,AlmText
AlmClass
Alarm class
Data,1,AlmClass
(Array)
GET_alm_current2;0,AlmText
AlmCode
Alarm code
Data,1,AlmCode
(Array)
GET_alm_current2;0,AlmText
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,AlmText
AlmClasH
History alarm class
His,1,AlmClass
(Array)
GET_alm_history2;0,AlmText
AlmCodeH
History alarm code
His,1,AlmCode
(Array)
GET_alm_history2;0,AlmText
AlmDateH
History alarm date
His,1,AlmDate
(Array)
GET_alm_history2;0,AlmText
AlmMsgH
History alarm message
His,1,AlmMsg
(Array)
Flag (0 ->1) from getting the history
GetHAlm
GET_alm_history2;10001
Discrete alarm including AlmClasH, AlmCodeH, AlmDateH & AlmMsgH
Advantech WebAccess/CNC User Manual
26
27
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
GET_feed_spindle
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
ActFeed
GET_feed_spindle;1,ActFeed Analog Actual feed rate
GET_feed_spindle;1,ActSpinActSpin
Analog Actual spindle speed
dle
OvFeed
GET_feed_spindle;1,OvFeed Analog Feed override
GET_feed_spindle;1,OvSpinOvSpin
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_informaModel_H
Text
Model (HEIDENHAIN)
tion_heid;1,Model
GET_informaNcVer_H
Text
NC version (HEIDENHAIN)
tion_heid;1,Nc_Ver
GET_informaPlcVer_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_hisText
MsgCodeH
History operation message code
tory;0,MsgHis,1,MsgCode
(Array)
GET_msg_hisText
MsgDateH
History operation message date
tory;0,MsgHis,1,MsgDate
(Array)
GET_msg_hisText
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
Chapter 4
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GET_nc_current_Text
block;0,NcBlock,1,Block
(Array)
GET_nc_ftp_code
Supports CNC: FANUC, MITSUBISHI, SIEMENS
CurNcBlk
GetFPgm
GET_nc_ftp_code;10005
Discrete
FQNc
GET_nc_ftp_code;20005
Text
GET_nc_ftp_list
Supports CNC: FANUC, MITSUBISHI, SIEMENS
GET_nc_ftText
FNcTime
p_list;0,NcList,1,DateTime
(Array)
Text
FNcFD
GET_nc_ftp_list;0,NcList,1,FD
(Array)
GET_nc_ftText
FNcName
p_list;0,NcList,1,NcName
(Array)
GET_nc_ftAnalog
FNcSize
p_list;0,NcList,1,Size
(Array)
GetFList
Get the content of the currently running program blocks
Flag (0 ->1) from getting a NC program as FQNc from a data server
FTP data server: NC program name
(input)
FTP data server: NC program modification date
FTP data server: NC program file
type (file/directory)
FTP data server: NC program name
FTP data server: NC size (Bytes)
Flag (0 ->1) from getting the NC
program list from a date server
Discrete
(FTP) including FNcTime, FNcFD,
FNcName & FNcSize
GET_nc_ftp_list;10019
GET_nc_local_list
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_nc_loText
Local PC: NC program modification
LNcTime
cal_list;0,NcList,1,DateTime
(Array)
date
GET_nc_loText
LNcName
Local PC: NC program name
cal_list;0,NcList,1,NcName
(Array)
GET_nc_loAnalog
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 including LNcTime, LNcName & LNcSize
GET_nc_mem_code
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Flag (0 ->1) from getting a NC proGetMPgm
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
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
Machine memory: NC program
GET_nc_mem_list;0,NcList,1, Text
MNcRmk
Remark
(Array)
remark
Advantech WebAccess/CNC User Manual
28
MNcSize
GET_nc_mem_list;0,NcList,1, Analog
Size
(Array)
Machine memory: NC program size
(Bytes)
Flag (0 ->1) from getting the NC
program list from CNC memory
Discrete
including MNcTime, MNcFD, MNcName, MNcRmk & MNcSize
GetMList
GET_nc_mem_list;10018
MachPos
GET_position;0,PosData,1,Mach
Analog
(Array)
29
Axis machine coordinates
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
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,PartRePartReq
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)
GET_position;0,PosText
AxisName
Axis name
Data,1,AxisName
(Array)
Analog
RemDist
GET_position;0,PosData,1,Dist
Remaining axis distance
(Array)
Chapter 4
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
RelPos
GET_position;0,PosData,1,Rel
Analog
(Array)
Text
(Array)
Relative axis coordinates
GET_position;0,PosAxis unit
Data,1,Unit
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,ServoLoadSerLd01
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;2,ServoLoadSerLd02
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;3,ServoLoadAnalog Load values for each axis (%)
SerLd03
Percent,1,Load
GET_servo_load;4,ServoLoadSerLd04
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;5,ServoLoadAnalog Load values for each axis (%)
SerLd05
Percent,1,Load
GET_servo_load;6,ServoLoadAnalog Load values for each axis (%)
SerLd06
Percent,1,Load
GET_servo_load;7,ServoLoadSerLd07
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;8,ServoLoadSerLd08
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;9,ServoLoadSerLd09
Analog Load values for each axis (%)
Percent,1,Load
GET_servo_load;10,ServoSerLd10
Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_load;11,ServoSerLd11
Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_load;12,ServoSerLd12
Analog Load values for each axis (%)
LoadPercent,1,Load
GET_servo_speed
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_servo_speed;0,ServoAnalog
ServSped
Servo shaft speed
LoadPercent,1,Speed
(Array)
GET_servo_temperature
Supports CNC: FANUC, HEIDENHAIN, SIEMENS
GET_servo_temperaAnalog
ServTemp
ture;0,Temperature,1,AxisServo motor temperature
(Array)
Temp
AxisUnit
GET_spindle_load
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
Advantech WebAccess/CNC User Manual
30
31
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Supports CNC: FANUC, HEIDENHAIN, SIEMENS
GET_spindle_temperaSpinTmp1
Analog Temperature of Spindle 1
ture;1,Spindle_1_Temp
GET_spindle_temperaSpinTmp2
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,MinuOperMin
Analog Operation time (minutes)
ite
GET_time;1,Operation,1,SecOperSec
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) (HEIDENRunHour_H time_heid;1,MachineRunAnalog
HAIN)
ning,1,Hour
GET_Machine run time (minutes) (HEIDRunMin_H time_heid;1,MachineRunAnalog
ENHAIN)
ning,1,Minuite
GET_Machine up time (hours) (HEIDENUpHour_H
Analog
time_heid;1,MachineUp,1,Hour
HAIN)
GET_Machine up time (minutes) (HEIDUpMin_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)
Chapter 4
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
SRunHour_H
GET_time_heid;1,SpindleRunSpindle running time (hours) (HEIDAnalog
ning,1,Hour
ENHAIN)
GET_time_heid;1,SpindleRunSpindle running time (minutes)
SRunMin_H
Analog
ning,1,Minuite
(HEIDENHAIN)
GET_utilization_all_today
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
GET_utilization_all_toToday machine availability: total
UtiAAlm
Analog
day;0,Util,1,AlarmTotal
abnormal time (hours)
GET_utilization_all_toMachine availability for the current
UtiABusy
Analog
day;0,Util,1,BusyTotal
day: total busy time (hours)
GET_utilization_all_toMachine availability for the current
UtiAIdle
Analog
day;0,Util,1,IdleTotal
day: total idle time (hours)
GET_utilization_all_toMachine availability for the current
UtiAOff
Analog
day: total off time (hours)
day;0,Util,1,OffTotal
GET_utilization_all_toMachine availability for the current
Analog
UtiAPTCnt
day;0,Util,1,PartTotal
day: total number of workpieces
Machine availability for the current
GET_utilization_all_toAnalog day: total number of processing
UtiACyc
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_sinDiscrete UtiQET including UtiAlarm, UtiGetUtiS
gle_all;10003
Busy, UtiCycle, UtiIdle, UtiOff &
UtiPTCnt
Single machine availability: query
GET_utilization_sinUtiQST
Text
start time. Format is YYYY-MM-dd
gle_all;20002
HH:mm:ss (input)
Single machine availability: query
GET_utilization_sinUtiQET
Text
end time. Format is
gle_all;20003
YYYY-MM-dd HH:mm:ss (input)
GET_utilization_sinSingle machine availability: total
UtiAlarm
Analog
gle_all;1,Util,1,AlarmTotal
alarm time (hours)
GET_utilization_sinSingle machine availability: total
UtiBusy
Analog
gle_all;1,Util,1,BusyTotal
busy time (hours)
GET_utilization_sinSingle machine availability: total idle
UtiIdle
Analog
gle_all;1,Util,1,IdleTotal
time (hours)
GET_utilization_sinSingle machine availability: total off
UtiOff
Analog
gle_all;1,Util,1,OffTotal
time (hours)
GET_utilization_sinAnalog Single machine availability: number
UtiPCnt
gle_all;0,UtilList,1,PartCount
(Array)
of workpieces
GET_utilization_sinSingle machine availability: total
UtiCycle
Analog
gle_all;1,Util,1,CycleTotal
number of processing cycles
GET_utilization_sinText
Single machine availability: status
UtiStatu
gle_all;0,UtilList,1,Status
(Array)
(OFF, IDLE, ALARM, BUSY)
GET_utilization_sinText
Single machine availability: start
UtiSTime
gle_all;0,UtilList,1,StDateTime (Array)
time
GET_utilization_sinText
Single machine availability: end
UtiETime
gle_all;0,UtilList,1,EndDate(Array)
time
Time
Advantech WebAccess/CNC User Manual
32
Analog
(Array)
Analog
(Array)
Text
(Array)
Text
(Array)
SetMain
SET_nc_main;10011
Discrete
SetMainN
SET_nc_main;20011
Text
Single machine availability: total
time
Single machine availability: number
of workpieces
Single machine availability: NC program name
Single machine availability: alarm
number and information
Flag (0 ->1) from setting a the main
program as SetMainN
Set an NC program name as the
main program (input)
SKY_conn_status_single
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
CNC connection status
SKY_conn_status_sin0: DISCONNECT
Status
gle;1,SKY_conn_status_sinDiscrete 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 proUpFNc
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 memory
Memory upload: NC program name
UpMNc
UPLOAD_nc_mem;20006
Text
(input)
GET_offset_title
Supports CNC: FANUC, MITSUBISHI
GET_offset_title;0,OffOffTitle
Text
Tool offset title
set,1,Title
Flag (0 ->1) from getting a tool offGetOTitle
GET_offset_title;10012
Discrete
set's title as OffTitle
GET_offset_all
Supports CNC: FANUC, MITSUBISHI
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)
Offset04
Analog
(Array)
GET_offset_all;0,Offset,1,C3
33
Tool offset value (Column 4)
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
GET_utilization_single_all;0,UtilList,1,TotalTime
GET_utilization_sinUtiPCnt
gle_all;0,UtilList,1,PartCount
GET_utilization_sinUtiNcPgm
gle_all;0,UtilList,1,NcName
GET_utilization_sinUtiAlmM
gle_all;0,UtilList,1,Alarm
SET_nc_main
Supports CNC: FANUC, SIEMENS
UtiTTime
Chapter 4
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
GetOData
Flag (0 ->1) from getting all tool offDiscrete set data including Offset01, Offset02, Offset03, Offset04 and etc.
GET_offset_all;10013
SET_offset_single
Supports CNC: FANUC, MITSUBISHI
SetONum
SET_offset_single;20012
SetOVal
SET_offset_single;20013
SetOData
Analog
Analog
The number of offset data (input)
The values offset data (input)
Flag (0 ->1) from setting the offset
Discrete
data including SetONum & SetOVal
SET_offset_single;10014
GET_macro_all
Supports CNC: FANUC, MITSUBISHI,SIEMENS
GET_macAnalog
MacNum
ro_all;0,Macro,1,MacroNumber (Array)
GET_macAnalog
MacData
ro_all;0,Macro,1,MacroData
(Array)
The number of macro data
GetMacro
Flag (0 ->1) from getting all macro
data including MacNum & MacData
GET_macro_all;10015
Discrete
SET_macro_single
Supports CNC: FANUC, MITSUBISHI
SetMacNo SET_macro_single;20014
SetMacro
SET_macro_single;20015
SetMData
Macro data
Analog
Analog
The number of data (input)
The values of macro data (input)
Flag (0 ->1) from setting the macro
Discrete data including SetMacNo & SetMacro
SET_macro_single;10016
GET_tool_table_siemens
Supports CNC: SIEMENS
GET_tool_table_sieToolMemNo mens;0,ToolData;1;ToolMemeryNO
GET_tool_table_siemens;0,ToolData;1;ToolPlace
Analog
(Array)
Analog
(Array)
The number of tools in memory
(SIEMENS)
The position of tool table in memory
(SIEMENS)
GET_tool_table_sieText
The name of a tool in memory
ToolName
mens;0,ToolData;1,ToolName (Array)
(SIEMENS)
GET_tool_table_sieAnalog The edge count of a tool
EdgeCnt
mens;0,ToolData;1,EdgeCount (Array)
(SIEMENS)
Flag (0 ->1) from getting the tool
GET_tool_table_siedata (SIEMENS) including ToolGetTool
Discrete
mens;10020
MemNo, ToolPlace, ToolName &
EdgeCnt
GET_tool_edge_parameter_siemens
Supports CNC: SIEMENS
GET_tool_edge_parameAnalog The parameter number of first tool
Edge1PNo ter_siemens;1,Edge(Array)
edge (SIEMENS)
Data,0,ParmaData,1,ParamNO
GET_tool_edge_parameAnalog The parameter number of second
Edge2PNo ter_siemens;2,Edge(Array)
tool edge (SIEMENS)
Data,0,ParmaData,1,ParamNO
GET_tool_edge_parameAnalog The parameter number of third tool
Edge3PNo ter_siemens;3,Edge(Array)
edge (SIEMENS)
Data,0,ParmaData,1,ParamNO
ToolPlace
Advantech WebAccess/CNC User Manual
34
ToolQMNo
GET_tool_edge_parameter_siemens;20016
GetTEP
GET_tool_edge_parameter_siemens;10021
The number of tool in memory (SIEMENS) (Input)
Flag (0 ->1) from getting tool edge
parameters including Edge1PNo,
Discrete
Edge2PNo, Edge3PNo &
ToolQMNo
Analog
Type of PLC status data
address:
FANUC:
G, F, Y, X, A, R, T, K, C, D, E
GET_plc_status2;1,PlcStaMITSUBISHI:
PlcType
tus,1,PlcType;M,N (M:
X, Y, M, F, L, SM, D, R, W, B, SB,V,
address, N: PLC number)
SW, SD
HEIDENHAIN:
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,PlcStaPlcDataStr: 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
1:short
2:int
3:bool
4:double
5:string
6:sbyte)
PlcType
GET_plc_status2_Siemens;1,PlcStatus,1,PlcType;M,N (M:
address, N: PLC number)
Discrete
(0:byte
1:short
2:int
3:bool
4:double
5:string
6:sbyte)
PlcDataS
GET_plc_status2_Siemens;1,PlcStatus,1,PlcDataStr;M,N (M: address, N:
PLC number)
The data of PLC status data (SIEMENS)
Analog PlcDataStr: PLC data(text) for all
(default) type including
Byte, Short, Int, Bool, Double,
String, Sbyte
GET_param_data
Supports CNC: FANUC, MITSUBISHI
GET_param_data;1,ParamParaData
Data,0,ParamDataStr;1
Text
35
The type of PLC status data (SIEMENS)
Address:
SIEMENS:
I/IB/ID/IW/M/MB/MD/MM/Q/QB/QD/
QW/T/DB
System parameter data
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
GET_plc_status2/SET_plc_status2_adv
Supports CNC: FANUC, MITSUBISHI, HEIDENHAIN
Chapter 4
Table 4.3: CNC Runtime Tag List (FANUC, MITSUBISHI, HEIDENHAIN,
and SIEMENS)
Table 4.4: CNC Runtime Error Codes (FANUC, MITSUBISHI,
HEIDENHAIN and SIEMENS)
Error Code
Error Types
*[fffc]
Plug-In Time out (-20)
*[ffed]
*[ffee]
SkyMars Busy (-19)
Not Supports (-18)
*[ffef]
Protocol error (-17)
*[fff0]
Socket error (-16)
*[fff1]
DLL file error (-15)
*[fff8]
*[fff9]
*[fffa]
*[fffd]
*[fffe]
*[8000]
*[8001]
*[8002]
*[8003]
*[8004]
*[8005]
*[8006]
*[8007]
*[8008]
*[8009]
*[800a]
*[800b]
*[800c]
Handle number error (8)
Version mismatch
between the CNC/PMC
and library (-7)
Abnormal library state (6)
Reset or stop request (2)
CNC Busy (-1)
WebAccess/CNC runtime is offline.
Error(function is not executed, or not available)
(1)
Description
The function has timed out; modify the register
value (FANUC only) if you want to extend the time
out
SkyMars is running
The function is not Supports for this controller
Data from the Ethernet board is incorrect. Please
check the Ethernet settings
Examine the CNC power supply, Ethernet cable,
and I/F board
There is no DLL file for each CNC series corresponding to the specified node
Get the library handle number
The CNC/PMC version does not match the library
version. Replace the library or CNC/PMC control
software
An exception error has occurred with the executed
library
The RESET or STOP button was pressed. Call the
termination function
Wait until after CNC processing or retry
Check whether WebAccess/CNC runtime is running
A specific function that should have been called has
not been executed; otherwise, the function is not
available
Error(data block length
Check and correct the data block length or number
error, error of number of
of data
data) (2)
Error(data number error)
(3)
Error(data attribute
error) (4)
Error(data error) (5)
Error(no option) (6)
Error(write protection)
(7)
Error(memory overflow)
(8)
Error(CNC parameter
error) (9)
Error(buffer empty/full)
(10)
Error(path number error)
(11)
Error(CNC mode error)
(12)
Advantech WebAccess/CNC User Manual
Check and correct the data number
Check and correct the data attribute
Check and correct the write data
There is no corresponding CNC option
Write operation prohibited
CNC tape memory overflow has occurred
CNC parameter is incorrect
The buffer is empty or full
A path number is incorrect
The CNC mode is incorrect; correct the CNC mode
36
*[800d]
*[800e]
*[800f]
*[8010]
*[8012]
*[8013]
*[8014]
*[8015]
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
AbsPos
R83000
DCode
FastFwdP
FCode
FedRateP
FeedRate
R3006220
R17000
R3006196
R17001
R82066
G54P1
R3094352
GCode00
R3094000
GCode54
R3094032
GCode55
R3094064
GCode56
R3094096
GCode57
R3094128
GCode58
R3094160
GCode59
R00001
HCode
R3006219
MachPos
R83064
MCode
R3006197
NCode
R3006218
Type
Analog
(Array)
Analog
Analog
Analog
Analog
Analog
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
Analog
(Array)
Analog
(Array)
Analog
37
Description
Absolute position (Axis 1~32)
D-code
Quick override(%)
F-code
Feed rate override (%)
Feed rate
G54P1 Code (Axis 1~32)
G00 Code (Axis 1~32)
G54 Code (Axis 1~32)
G55 Code (Axis 1~32)
G56 Code (Axis 1~32)
G57 Code (Axis 1~32)
G58 Code (Axis 1~32)
G59 Code (Axis 1~32)
H-code
The machine position (Axis 1~32)
M-code
N-code
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
*[8011]
Error(CNC execution
CNC execution rejected. Check the condition of
rejection) (13)
execution.
Error(Data server error)
An error has occurred no the data server
(14)
The function cannot be executed because of a CNC
Error(alarm) (15)
alarm. Remove the cause of alarm.
Error(stop) (16)
CNC status is “stop” or “emergency.”
Error(State of data proData protected by the CNC data protection function
tection) (17)
Error(Not found Machine Please check the connected CNC status or disable
ID) (18)
this CNC connection.
Error(No out) (19)
Please check the error number
Error(Password) (20)
Incorrect password
Error(Compatible) (21) Version compatibility problem
Chapter 4
Table 4.4: CNC Runtime Error Codes (FANUC, MITSUBISHI,
HEIDENHAIN and SIEMENS)
Table 4.5: LNC CNC Driver Tag List
PartCnt
R17019
SpinSpdR
SpinSped
TCode
Status
OperMode
MachType
R11370
R83138
R3006212
R17003
R22000
R60000
Analog
Analog
(Array)
Analog
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
Analog
Analog
Discrete
Discrete
Discrete
ParTotal
R140018
PartSet
C0027
RelPos
R83032
SCode
R3006207
SysUnit
R69001
Discrete
UnitType
IsFinish
R69042
S0027
Discrete
Discrete
IsArrive
S0098
Discrete
IsMsg
IsAlarm
AlmMsg
AlmNo
AlmTime
S3000
S3000
R1790010-31;40
R1790001-4;40
R1790005-5,40
Discrete
Discrete
Text
Text
Text
SCodeNum R3006202
Part count
Part total count
Part count setting
Relative position (Axis 1~32)
S-code
The number of S-code
Spindle speed override (%)
Spindle speed
T-code
Status
Operation mode
Machine type
The minimal unit of system command
The type of system unit
Part count is finished or not
Part count is arrived at the total
count or not
Exists warning message or not
Exists alarm or not
The alarm message
The number of message
The time of alarm message
Table 4.6: LNC CNC Driver Tag Error Codes
Error Code
*[ffff]
*[8000]
0x8001
0x8002
0x8003
0x8004
0x8101
0x8102
0x8103
0x8104
Error Types
System error (driver not
loaded)
Device is offline
RunExeFail
WrongTagAddress
MapFail
Init
LibInitFail
ConnectCmdFail
NoConnection
ReadTimeout
Advantech WebAccess/CNC User Manual
Description
ReCon lib driver is not loaded
Check LNC device is alive or not
Failed to run exe file
The tag address is wrong
Internal error
Initialization failed
Library initialization failed
Connection command failed
No connection
Read timeout
38
Address
AlarmCur
01:0000:E01:00000
PCCounA1
PCCurA1
PCTarA1
PCNoteA1
PCCounA2
PCCurA2
PCTarA2
PCNoteA2
PCCounA3
PCCurA3
PCTarA3
PCNoteA3
PCCounA4
PCCurA4
PCTarA4
PCNoteA4
PCCounB1
PCCurB1
PCTarB1
PCNoteB1
PCCounB2
PCCurB2
PCTarB2
PCNoteB2
PCCounB3
PCCurAB3
PCTarB3
PCNoteB3
PCCounB4
PCCurB4
PCTarB4
PCNoteB4
01:0001:A01:00000
01:0001:A01:00001
01:0001:A01:00002
01:0001:A01:00003
01:0001:A02:00000
01:0001:A02:00001
01:0001:A02:00002
01:0001:A02:00003
01:0001:A03:00000
01:0001:A03:00001
01:0001:A03:00002
01:0001:A03:00003
01:0001:A04:00000
01:0001:A04:00001
01:0001:A04:00002
01:0001:A04:00003
01:0001:B01:00000
01:0001:B01:00001
01:0001:B01:00002
01:0001:B01:00003
01:0001:B02:00000
01:0001:B02:00001
01:0001:B02:00002
01:0001:B02:00003
01:0001:B03:00000
01:0001:B03:00001
01:0001:B03:00002
01:0001:B03:00003
01:0001:B04:00000
01:0001:B04:00001
01:0001:B04:00002
01:0001:B04:00003
MState
01:0002:C01:1
ErrCode
RunProg
01:0002:C01:3:eno
01:0002:C01:3:pno
Gcode
01:0004:G01:00000
Mcode
01:0004:M01:00000
PosMac
01:0004:P01:00000
Type
Text
(Array)
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Description
Current alarm array
PCounter A01 count value
PCounter A01 current value
PCounter A01 target value
PCounter A01 notice value
PCounter A02 count value
PCounter A02 current value
PCounter A02 target value
PCounter A02 notice value
PCounter A03 count value
PCounter A03 current value
PCounter A03 target value
PCounter A03 notice value
PCounter A04 count value
PCounter A04 current value
PCounter A04 target value
PCounter A04 notice value
PCounter B01 count value
PCounter B01 current value
PCounter B01 target value
PCounter B01 notice value
PCounter B02 count value
PCounter B02 current value
PCounter B02 target value
PCounter B02 notice value
PCounter B03 count value
PCounter B03 current value
PCounter B03 target value
PCounter B03 notice value
PCounter B04 count value
PCounter B04 current value
PCounter B04 target value
PCounter B04 notice value
Machine state
Discrete 0:Power off, 1:Stand by, 2:Running,
3:Stopped, 4:Error
Text
Machine error code
Text
Running program number
Text
G code array
(array)
Text
M code array
(Array)
Analog
(Array)
39
Machine axis position array
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Tag Name
Chapter 4
Table 4.7: Brother CNC Driver Tag List
Table 4.7: Brother CNC Driver Tag List
PosRel
01:0004:P02:00000
PosAbs
01:0004:P03:00000
PosRem
01:0004:P04:00000
ActFeed
ActSpin
01:0004:X01:00000
01:0004:X01:00001
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
Analog
InnerWbS
01:0004:X01:00002
Discrete
TLNo
TLName
TLNoNext
TLSlotNo
01:0004:X01:00003
99:0011:XX:00000
01:0004:X01:00004
01:0004:X01:00005
Text
Text
Text
Text
DoorInLk
01:0004:X01:00006
Discrete
DoorOut
01:0004:X01:00007
Discrete
DoorInne
01:0004:X01:00008
Discrete
DoorSide
01:0004:X01:00009
Discrete
OvQuick
OvFeed
OvSpin
Mcr500
01:0004:X01:00010
01:0004:X01:00011
01:0004:X01:00012
01:0007:C500:00000
Mcr500A
01:0007:Cxxx:00000
Analog
Analog
Analog
Analog
Analog
(Array)
Mode
01:0008:K01:00000
Discrete
Monitor
01:0008:K01:00001
Analog
Progskip
01:0008:K01:00002
Discrete
ChooStop
01:0008:K01:00003
Discrete
EmptyOp
01:0008:K01:00005
Discrete
Mlock
01:0008:K01:00006
Discrete
CoolPump
01:0008:K01:00007
Discrete
Flush
01:0008:K01:00008
Discrete
Advantech WebAccess/CNC User Manual
40
Relative axis position array
Absolute axis position array
Remain axis position array
Actual feedrate
Actual spindle speed
Inner workbench
0:QT Uninstall, 1:Workbench1,
2:Workbench2
Spindle tool number
Current tool name
Next tool number
Tool slot number
Door Interlock status
0:Disable, 1:Enable
Outdoor status
0:Close, 1:Open
Inner door status
0:Close, 1:Open
Side door status
0:Close, 1:Open
Quick override(%)
Feed override(%)
Spindle override(%)
Macro 500 value (R/W)
Macro 500-999 array (R/W)
Operation mode
0:Manual, 1:MDI, 2:MEM, 3:Program Edit
4:MDI Manual, 5:Operation
Monitor status
0:Shutdown, 1:Alarm, 2:Database,
3:ATC
4:Program, 5:Manual, 6:Postion,
7:I/O
8:Monitor, 9:Graphic
Skip the program
0:Disable, 1:Enable
Choose to stop
0:Disable, 1:Enable
Empty operation
0:Disable, 1:Enable
Machine lock
0:Disable, 1:Enable
Cooler pump
0:Disable, 1:Enable
Flush
0:Disable, 1:Enable
Light
Discrete
WBChoose 01:0008:K01:00010
Discrete
Emergen
01:0008:S01:00003
Discrete
Datalock
01:0008:S01:00005
Discrete
Mtype
MAC
Version
01:0009:M01:00000
01:0009:S01:00000
01:0009:V01:00000
Text
Text
Text
GetAlmF
99:0000:XX:00000
Discrete
GetAlmC
99:0001:XX:00000
GetAlmD
99:0002:XX:00000
TolnmF
Text
(Array)
Text
(Array)
T01LnOff
99:0005:T01:00000
T01LnWCp 99:0005:T01:00001
T01DiCp
99:0005:T01:00002
99:0005:T01:00003
T01LfIni
T01LfNot
T01LfCur
T01Name
99:0005:T01:00005
99:0005:T01:00006
99:0005:T01:00007
99:0005:T01:00008
TxxLnOff
99:0005:TXX:00000
TxxLnWCp
99:0005:TXX:00001
TxxDiCp
99:0005:TXX:00002
TxxDiWCp
99:0005:TXX:00003
TxxLfIni
99:0005:TXX:00005
TxxLfNot
99:0005:TXX:00006
TxxLfCur
99:0005:TXX:00007
TxxName
99:0005:TXX:00008
PosnmF
99:0004:XX:00000
WCG54
99:0006:G54:00000
Get alarm log code array
Get alarm log date array
Flag (0 ->1) from getting the tool
info including T01 & Txx (LnOff,
Discrete
LnWCp, DiCp, DiWCp, LfIni, LfNot,
LfCur & Name)
Analog 1st tool length offset
Analog 1st tool length wear compensation
Analog 1st tool diameter compensation
1st tool diameter wear compensaAnalog
tion
Analog 1st tool initial life
Analog 1st tool notice life
Analog 1st tool current life
Text
1st tool name
Analog
All tool length offset by array
(Array)
Analog All tool length wear compensation
(Array) by array
Analog All tool diameter compensation by
(Array) array
Analog All tool diameter wear compensa(Array) tion by array
Analog
All tool initial life by array
(Array)
Analog
All tool notice life by array
(Array)
Analog
All tool current life by array
(Array)
Text
All tool name by array
(Array)
Flag (0 ->1) from getting the postion
Discrete info including work coordinate
G54~G59, GEXT & G5401~G5448
Analog
Work coordinate G54
(Array)
99:0003:XX:00000
T01DiWCp
Machine light
0:Disable, 1:Enable
Workbench choose
0:Disable, 1:1, 2:2, 3:1-2
Emergency
0:Disable, 1:Enable
Data lock
0:Enable, 1:Disable
Machine Type
Machine MAC ID
Machine version
Flag (0 ->1) from getting the alarm
log including GetAlmC & GetAlmD
41
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
01:0008:K01:00009
Chapter 4
Table 4.7: Brother CNC Driver Tag List
Table 4.7: Brother CNC Driver Tag List
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
WCG55
99:0006:G55:00000
WCG56
99:0006:G56:00000
WCG57
99:0006:G57:00000
WCG58
99:0006:G58:00000
WCG59
99:0006:G59:00000
WCGEXT
99:0006:H01:00000
WCG5401
99:0006:X01:00000
WCG5402
99:0006:X02:00000
WCG5403
99:0006:X03:00000
WCG5404
99:0006:X04:00000
WCG5405
99:0006:X05:00000
WCG5406
99:0006:X06:00000
WCG5407
99:0006:X07:00000
WCG5408
99:0006:X08:00000
WCG5409
99:0006:X09:00000
WCG5410
99:0006:X10:00000
WCG5411
99:0006:X11:00000
WCG5412
99:0006:X12:00000
WCG5413
99:0006:X13:00000
WCG5414
99:0006:X14:00000
WCG5415
99:0006:X15:00000
WCG5416
99:0006:X16:00000
WCG5417
99:0006:X17:00000
WCG5418
99:0006:X18:00000
WCG5419
99:0006:X19:00000
Analog
(Array)
Work coordinate G54.19
WCG5420
99:0006:X20:00000
Analog
(Array)
Work coordinate G54.20
Advantech WebAccess/CNC User Manual
42
Work coordinate G55
Work coordinate G56
Work coordinate G57
Work coordinate G58
Work coordinate G59
Work coordinate extension
Work coordinate G54.01
Work coordinate G54.02
Work coordinate G54.03
Work coordinate G54.04
Work coordinate G54.05
Work coordinate G54.06
Work coordinate G54.07
Work coordinate G54.08
Work coordinate G54.09
Work coordinate G54.10
Work coordinate G54.11
Work coordinate G54.12
Work coordinate G54.13
Work coordinate G54.14
Work coordinate G54.15
Work coordinate G54.16
Work coordinate G54.17
Work coordinate G54.18
99:0006:X21:00000
WCG5422
99:0006:X22:00000
WCG5423
99:0006:X23:00000
WCG5424
99:0006:X24:00000
WCG5425
99:0006:X25:00000
WCG5426
99:0006:X26:00000
WCG5427
99:0006:X27:00000
WCG5428
99:0006:X28:00000
WCG5429
99:0006:X29:00000
WCG5430
99:0006:X30:00000
WCG5431
99:0006:X31:00000
WCG5432
99:0006:X32:00000
WCG5433
99:0006:X33:00000
WCG5434
99:0006:X34:00000
WCG5435
99:0006:X35:00000
WCG5436
99:0006:X36:00000
WCG5437
99:0006:X37:00000
WCG5438
99:0006:X38:00000
WCG5439
99:0006:X39:00000
WCG5440
99:0006:X40:00000
WCG5441
99:0006:X41:00000
WCG5442
99:0006:X42:00000
WCG5443
99:0006:X43:00000
WCG5444
99:0006:X44:00000
WCG5445
99:0006:X45:00000
Analog
(Array)
Work coordinate G54.45
WCG5446
99:0006:X46:00000
Analog
(Array)
Work coordinate G54.46
43
Work coordinate G54.21
Work coordinate G54.22
Work coordinate G54.23
Work coordinate G54.24
Work coordinate G54.25
Work coordinate G54.26
Work coordinate G54.27
Work coordinate G54.28
Work coordinate G54.29
Work coordinate G54.30
Work coordinate G54.31
Work coordinate G54.32
Work coordinate G54.33
Work coordinate G54.34
Work coordinate G54.35
Work coordinate G54.36
Work coordinate G54.37
Work coordinate G54.38
Work coordinate G54.39
Work coordinate G54.40
Work coordinate G54.41
Work coordinate G54.42
Work coordinate G54.43
Work coordinate G54.44
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
WCG5421
Chapter 4
Table 4.7: Brother CNC Driver Tag List
Table 4.7: Brother CNC Driver Tag List
WCG5447
99:0006:X47:00000
WCG5448
99:0006:X48:00000
TimeFlag
99:0009:XX:00000
TimeAOP
TimePow
TimeOP
TimeCyc
TimeCut
99:0010:T01:00000
99:0010:T01:00001
99:0010:T01:00002
01:0011:L01:00002
01:0011:L01:00003
03:0000:rmk:00000:
(keywords)
curncrmk
Analog
(Array)
Analog
(Array)
curncblk
03:0000:blk:00000
reddate
03:0001:XX:00000
IOsignal
08:0000:XX:00000:TOOL
redplcd
03:0002:XX:00000:BX,3FF
Work coordinate G54.47
Work coordinate G54.48
Flag (0 ->1) from getting the time
Discrete data including TimeAOP, TimePow,
TimeOP, TimeCyc & TimeCut
Analog Total operation time
Analog Power on time
Analog Operation time
Analog Cycle time
Analog Cut time
Get the remark content of the NC
Text
file according to the keywords
Text
Get the content of the currently run(Array) ning program blocks
Text
Get date & time
Get/Write the external I/O by the
Discrete
signal name as “TOOL”
Get PLC signal by the signal type
Analog
and number as “BX” & “3FF”
Table 4.8: Brother CNC Driver Error Codes
Error Code
*[8000]
*[8010]
*[8001]~
[8004]
*[8100]
*[8200]
*[8404]
*[9000]
Error Types
Description
No available data for this
Check the address of this tag
tag now
Address of this tag is not
Check the first two parts of the address of this tag
legal
Internal error
No available data for this
tag now
No connection now
No support function
No available data for this
tag now
Advantech WebAccess/CNC User Manual
Get the value after trig the relative flag
Check the connection status
Check the CNC setting and communication package
The communication is abnormal and the driver is
trying to reconnect to the device
44
Address
Type
posabs_0
posabs_0
Analog
posmac_0
posmac_0
Analog
posrel_0
posrel_0
Analog
posdis_0
posdis_0
posabsar
posabsar
posmacar
posmacar
posrelar
posrelar
posdisar
posdisar
Analog
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
tmmode
tmmode
Discrete
ncstatus
ncstatus
Discrete
alarmsta
alarmsta
Analog
emergen
emergen
Discrete
axissta
axissta
Discrete
45
Description
Read 1st absolute position information
Read 1st machine position information
Read 1st relative position information
Read 1st distance to go information
Read all absolute position information by array
Read all machine position information by array
Read all relative position information by array
Read all distance to go information
by array
T/M mode selection
0: T mode
1: M mode
Status of automatic operation
0: ****(reset)
1: STOP
2: HOLD
3: START
4: MSTR (during retraction and repositioning of tool retraction and
recovery, and operation of JOG
MDI)
Status of alarm
0: ***(Others)
1: Alarm
2: Battery low
3: FAN(NC or Servo amplifier)
4: PS Warning
5: FSSB warning
6: Insulate warning
7: Encoder warning
8: PMC alarm
Status of emergency
0: (Not emergency)
1: Emergency
2: Reset
3: Wait(FS35i only)
Status of axis
0: ***
1: Motion
2: Dwell
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Tag Name
Chapter 4
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
mode
mode
axismax
cnctype
mttype
series
version
addinfo
axescur
actfeed
actspin
ovfeed
ovspin
axismax
cnctype
mttype
series
version
addinfo
axescur
actfeed
actspin
ovfeed
ovspin
mainprog
mainprog
runprog
runprog
runseq
runseq
progname
progname
isalarm
isalarm
almclass
almclass
almcode
almcode
almmsg
almmsg
gethalm
gethalm
almclash
almclash
almcodeh
almcodeh
almdateh
almdateh
almmsgh
almmsgh
Advantech WebAccess/CNC User Manual
AUTOMATIC/MANUAL mode
selection
0: MDI
1: Memory
2: ****
3: EDIT
Analog 4: Handle
5: JOG
6: Teach in JOG
7: Teach in Handle
8: INC feed
9: Reference
10: Remote
Analog Maximum controlled axes
Text
Type of CNC
Text
Type of M/T
Text
Series number of CNC
Text
Version number of CNC
Analog Read additional information
Analog Current controlled axes
Analog Read actual axis feed rate(F)
Analog Read actual spindle speed(S)
Analog Read feed rate override
Analog Read spindle speed override
Read main program number (modal
Text
O number)
Read currently program number
Text
(modal O number)
Read the currently sequence numText
ber of the NC program(Nxxxx)
Read the program name being exeText
cuted.
Status of alarm
Discrete 0: No alarm
1: Alarm
Text
Read the alarm status of CNC
(Array)
Text
Read the alarm code
(Array)
Text
Read the alarm message
(Array)
Flag (0 ->1) from getting a history
Discrete alarm including almclash, almcodeh, almdateh & almmsgh
Analog Read history alarm class
(Array) Only for CNC Series 30i, 0i-D/F
Analog
Read history alarm code
(Array)
Text
Read history alarm date
(Array)
Text
Read history alarm message
(Array)
46
Pathname
Text
axisname
axisname
axisunit
axisunit
gcode
gcode
hcode
fcode
tcode
dcode
scode
mcode
regprg
unregprg
usemem
hcode
fcode
tcode
dcode
scode
mcode
regprg
unregprg
usemem
Text
(Array)
Text
(Array)
Text
(Array)
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
unusemem
unusemem
Analog
ptotal
prequired
pcount
powhour
ptotal
prequired
pcount
powhour
Analog
Analog
Analog
Analog
powmin
cuthour
cutmin
cutsec
cychour
cycmin
cycsec
operhour
opermin
opersec
sysyear
powmin
cuthour
cutmin
cutsec
cychour
cycmin
cycsec
operhour
opermin
opersec
sysyear
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
sysmonth
sysmonth
Analog
sysdate
sysdate
Analog
syshour
syshour
Analog
sysmin
sysmin
Analog
syssec
syssec
Analog
servcurr
servcurr
Analog
(Array)
servampe
servampe
Analog
(Array)
servsped
servsped
Analog
(Array)
47
Read full path name of the program
Only for CNC Series 30i, 0i-D/F
Read axis name
Read unit of position data
Read all data of G code at a time
Read data of H code at a time
Read data of F code at a time
Read data of T code at a time
Read data of D code at a time
Read data of S code at a time
Read data of M code at a time
Number of registered programs
Number of available programs
Character number of used memory
Read the management data already
registered
Read total part count
Read required part count
Read part count
Read power time (hours)
Read power time (minutes)
Read cutting time (hours)
Read cutting time (minutes)
Read cutting time (seconds)
Read cycle time (hours)
Read cycle time (minutes)
Read cycle time (seconds)
Read operation time (hours)
Read operation time (minutes)
Read operation time (seconds)
Read system (calendar) time (year)
Read system (calendar) time
(month)
Read system (calendar) time (date)
Read system (calendar) time
(hours)
Read system (calendar) time (minutes)
Read system (calendar) time (seconds)
Read real current for servo adjustment
Read servo load current (Ampere
unit)
Only for CNC Series 30i, 0i-D/F
Read real speed for servo adjustment
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Pathname
Chapter 4
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
motosped
motosped
spinsped
spinsped
servload
servload
spinload
spinload
servtemp
servtemp
spintemp
spintemp
getmacro
getmacro
macdata
macdata
macdata2
macdatabyindex
macnum
macnum
setmacro
setmacro
setmdata
setmacno
setmdata
setmacno
gethmsg
gethmsg
msgcodeh
msgcodeh
msgdateh
msgdateh
msgtexth
msgtexth
getwcord
getwcord
wc_ext
wc_ext
wc_g54
wc_g54
wc_g55
wc_g55
wc_g56
wc_g56
wc_g57
wc_g57
wc_g58
wc_g58
wc_g59
wc_g59
Advantech WebAccess/CNC User Manual
Analog
(Array)
Analog
Analog
(Array)
Analog
(Array)
Analog
(Array)
Analog
(Array)
Read the spindle motor speed
Read the spindle speed
Read servo load meter (%)
Read spindle load meter (%)
Read servo temperature
Read spindle temperature
Flag (0 ->1) from getting macro variDiscrete ables including macdata & macnum
& macdata2
Analog
Read custom macro data
(Array)
Analog Read the macro data of the macro
(Array) number
Analog
Read custom macro number
(Array)
Flag (0 ->1) from setting a macro
Discrete variable including setmdata & setmacno
Analog Set custom macro data
Analog Set custom macro number
Flag (0 ->1) from getting a history
Discrete operation message including
msgcodeh, msgdateh & msgtexth
Text
Read history operation message
(Array) code
Text
Read history operation message
(Array) date
Text
Read history operation message
(Array) text
Flag (0 ->1) from getting all work
Discrete coordinates including EXT &
G54~G59
Analog
Read EXT work coordinates data
(Array)
Analog
Read G54 work coordinates data
(Array)
Analog
Read G55 work coordinates data
(Array)
Analog
Read G56 work coordinates data
(Array)
Analog
Read G57 work coordinates data
(Array)
Analog
Read G58 work coordinates data
(Array)
Analog
(Array)
48
Read G59 work coordinates data
getodata
setodata
setodata
offtitle
offtitle
offset_0
offset_0
offset_1
offset_1
offset_2
offset_2
offset_3
offset_3
offset_4
offset_4
offset_5
offset_5
offset_6
offset_6
offset_7
offset_7
offset_8
offset_8
plc_ta
plc_ta_d
blkpoint
blkpoint
setmain
setmain
setmainn
setmainn
compound
iseries
transfer
loader
addinfo
addinfo
addinfo
addinfo
49
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
getodata
Flag (0 ->1) from getting all tool offset data including offtitle, offset_0,
Discrete
offset_1, offset_2, offset_3, offset_4, offset_5, offset_6 & offset_7
Flag (0->1) from setting all tool offDiscrete
set data
Text
Reads tool offset's title
(Array)
Analog
Read tool offset value (Column 0)
(Array)
Analog
Read tool offset value (Column 1)
(Array)
Analog
Read tool offset value (Column 2)
(Array)
Analog
Read tool offset value (Column 3)
(Array)
Analog
Read tool offset value (Column 4)
(Array)
Analog
Read tool offset value. (Column 5)
(Array)
Analog
Read tool offset value. (Column 6)
(Array)
Analog
Read tool offset value (Column 7)
(Array)
Analog
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
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
Analog Read the actual execution pointer
Flag (0 ->1) from setting a main proDiscrete
gram as setmainn
Set a NC program name as the
Text
main program (input)
Only for CNC Series 30i, 0i-D/F
Discrete Compound machining function
Discrete i Series
Discrete Transfer line function
Discrete Loader control function
Chapter 4
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
model
addinfo
getmlist
getmlist
mnctime
mnctime
mncname
mncname
mncsize
mncsize
mncrmk
mncrmk
upmpgm
upmpgm
upmnc
upmnc
upmncdir
upmncdir
getmpgm
getmpgm
mqnc
mqnc
delmpgm
delmpgm
delmname
delmname
getllist
getllist
lnctime
lnctime
lncname
lncname
lncsize
lncsize
dellpgm
dellpgm
dellname
dellname
curncblk
curncblk
curncptr
msgcode
ismsg
curncptr
msgcode
ismsg
prtsa
macsysdata.3901
prtsn
macsysdata.3902
userrmk
userrmkkeywords
Advantech WebAccess/CNC User Manual
Discrete Model information only for 0i-D/F
Flag (0 ->1) from getting the NC
program list from CNC memory
Discrete
including mnctime, mncname, mncsize & mncrmk
Text
Read NC program modification date
(Array) from CNC memory
Text
Read NC program name from CNC
(Array) memory
Analog Read NC program size (Bytes) from
(Array) CNC memory
Text
Read NC program remark
Flag (0 ->1) from uploading a NC
program as upmnc to CNC memory
Discrete
accoring to the destination directory
as upmncdir
The upload file name of a NC proText
gram (input)
The destination directory for an
Text
uploaded NC program (input)
Flag (0 ->1) from getting a NC proDiscrete
gram as mqnc from CNC memory
NC program name from memory
Text
(input)
Flag (0->1) from deleting a NC proDiscrete
gram as delpgm from CNC memory
The deleted (CNC memory) NC
Text
program name (input)
Flag (0 ->1) from getting the NC
Discrete program list from the local disk
incluing lnctime, lncname & lncsize
Text
Read NC program modification date
(Array)
Text
Read NC program name
(Array)
Analog
Read NC program size (Bytes)
(Array)
Flag (0->1) from deleting a NC proDiscrete
gram as dellpgm from the local disk
The deleted (local disk) NC program name (input)
Get the content of the currently runText
ning program blocks
Analog Pointer of the current program
Analog Operation message code
Discrete Message status
Macro System Variable: Number of
Analog
Parts (R/W)
Macro System Variable: Number of
Analog
Required Parts (R/W)
Text
Text
50
Read the remark content of the NC
file according to the keywords
MASTATUS MASTATUS
path_no
path_no
getCR
getCR
offtiCR
offtiCR
offCR_0
offCR_0
offCR_1
offCR_1
geto1g2
geto1g2
offti1g2
offti1g2
off1g2_0
off1g2_0
off1g2_1
off1g2_1
off1g2_2
off1g2_2
geto2g2
geto2g2
offti2g2
offti2g2
off2g2_0
off2g2_0
off2g2_1
off2g2_1
off2g2_2
off2g2_2
TG1_LT
TG1_LT
TG1_LS
TG1_LS
TG1_CT
TG1_TN
TG1_ST
TG1_CT
TG1_TN
TG1_ST
TG1_TC
TG1_TC
TG1_HC
TG1_HC
TG1_DC
TG1_DC
gethisop
gethisop
51
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
CNC connection status
0: DISCONNECT
Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM
Analog Path number of multi-path (R/W)
Flag (0 -> 1) from getting corner R
Discrete
(Series 30i)
Text
Reads corner R's title
Analog
Reads corner R value (Column 0)
(Array)
Analog
Reads corner R value (Column 1)
(Array)
Flag (0 -> 1) from getting second
Discrete
geometry
Text
Reads second geometry's title
Analog Read second geometry value (Col(Array) umn 0)
Analog Read second geometry value (Col(Array) umn 1)
Analog Read second geometry value (Col(Array) umn 2)
Flag (0 -> 1) from getting 2nd
Discrete
coord.'s 2nd geometry (Series 30i)
Reads 2nd coord.'s 2nd geometry's
Text
title
Analog Reads 2nd coord.'s 2nd geometry
(Array) value (Column 0)
Analog Reads 2nd coord.'s 2nd geometry
(Array) value (Column 1)
Analog Reads 2nd coord.'s 2nd geometry
(Array) value (Column 2)
Discrete Life type of tool group1 (R/W)
Life setting value of tool group1 (R/
Analog
W)
Analog Life counter of tool group1 (R/W)
Analog Total tool number of tool group1
Discrete State of tool group1
Analog
T code of tool group1
(Array)
Analog
H code of tool group1
(Array)
Analog
D code of tool group1
(Array)
Flag (0 ->1) from getting a history
operation record file at the relative
Discrete
folder as ../Project name_Node
name/pgm/Device name/
Chapter 4
Table 4.9: FANUC CNC Driver Tag List (FOCAS)
Table 4.10: FOCAS CNC Driver Error Codes
Error Code
Error Types
Description
*[80a0]
The tag value is empty
*[8e16]
Socket error
*[8e17]
Data from Ethernet
Board is incorrect
*[8001]
Not executed or not
available
*[8006]
*[8012]
No option
CNC mode error
*[e000]
No focas library files
Q Code
Error Types
Description
7EEE
Array size error
Array size does not match
Data tag is empty as a result of specific tag has not
written to 1 yet
Examine the CNC power supply, Ethernet cable,
and I/F board
Check the Ethernet board setting
Specific function that must be executed beforehand
has not been executed; otherwise, that function is
unavailable
There is no corresponding CNC option
Correct the CNC mode
Please legally obtain the files: fwlibe1.dll &
fwlib32.dll and put dll files in "webaccess/node/.."
Table 4.11: HAAS CNC Driver Tag List (HAAS)
Tag Name
Address
Type
Description
SN
Version
MN
Q100
Q101
Q102
Text
Text
Text
Mode
Q104
Text
Machine serial number
Control software version
Machine model number
Mode (LIST, PROG, MDI, MEM,
etc.)
ToolChs
ToolNum
TimePow
TimeMot
TimeLCy
TimePCy
Q200
Q201
Q300
Q301
Q303
Q304
Analog
Analog
Text
Text
Text
Text
PCount1
Q402
PCount2
Q403
RunProg
Q500.1
Status
Q500.2
Parts
Mac001
Q500.4
Q600 1
Mac10000
Q600 10000
Tool changes (Total)
Tool number in use
Power on time (Total)
Motion time (Total)
Last cycle time
Previous cycle time
M30 parts counter #1 (Reset at
Analog
Control)
M30 parts counter #2 (Reset at
Analog
Control)
Text
Running program number
Machine status
Text
IDLE/BUSY/ALARM ON
Analog Total parts counter
Analog Macro #1 (ex: #1~#33)
Macro #10000 (ex:
Analog
#10000~#10999)
CNC connection status
0: DISCONNECT
Discrete 1: RUN (only for MEM mode)
2: IDLE
3: ALARM
MASTATUS MASTATUS
Advantech WebAccess/CNC User Manual
52
Table 4.12: HAAS CNC Driver Error Codes
Description
0x8002
0x8004
0x8100
0x8101
0x8102
0x8104
0x8200
0x8202
0x8205
Index error or comma error
Fail to convert to analog value
Illegal tag address
COM port error
COM port error
Unexpected response
Illegal tag address
TCP connection error
Unexpected response
Table 4.13: SYNTEC CNC OPC UA Driver Tag List (SYNTEC)
Tag Name
Isalarm
AlarmCur
Almdateh
Almcodeh
Almmsgh
Almduth
Almclrh
ActFeed
OvFeed
RunSeq
ProName
Address
Type
2:1:1:MACHINE/READ/CNCALARM?ISALARM
2:1:1:MACHINE/READ/CNCALARM?CURRENTALARM
2:1:1:MACHINE/READ/CNCALARM?ALARMHISTORY
(conversion code: Almdateh)
2:1:1:MACHINE/READ/CNCALARM?ALARMHISTORY
(conversion code: Almdcodeh)
2:1:1:MACHINE/READ/CNCALARM?ALARMHISTORY
(conversion code: Almmsgh)
2:1:1:MACHINE/READ/CNCALARM?ALARMHISTORY
(conversion code: Almduth)
2:1:1:MACHINE/READ/CNCALARM?ALARMHISTORY
(conversion code: almclrh)
2:1:1:MACHINE/READ/CNCCHANNEL?ACTFEEDRATE
2:1:1:MACHINE/READ/CNCCHANNEL?ACTOVERRIDE
2:1:1:MACHINE/READ/CNCCHANNEL?ACTMAINPROGRAMLINE
2:1:1:MACHINE/READ/CNCCHANNEL?ACTMAINPROGRAMNAME
53
Description
Discrete Alarm status
Text
Current alarm
Text
(Array)
Read history alarm date by array
Text
(Array)
Read history alarm code by array
Text
(Array)
Read history alarm message by
array
Text
(Array)
Read history alarm duration by
array
Text
(Array)
Read history alarm clear by array
Analog
Actual feed rate
Analog
Feed override
Analog
The currently sequence number of
the NC program
Text
The program name being executed
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Error Code
Chapter 4
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.
Table 4.13: SYNTEC CNC OPC UA Driver Tag List (SYNTEC)
Mstate
2:1:1:MACHINE/READ/CNCCHANNEL?ACTPROGRAMSTATUS
Mode
2:1:1:MACHINE/READ/CNCCHANNEL?ACTOPERATIONMODE
Pcount
ActSpin
OvSpin
PosMacX
PosAbsX
R5141
Machine state
0: Stopped
1 :Running
Discrete 2: Waiting
3: Interrupted
4: Canceled
5: Others
Operation mode
0: Manual
1: MDA
2: Auto
Discrete 3: Edit
4: Home
5: MPG
6: Null
7: Others
2:1:1:MACHINE/READ/CNCCHANNEL?ACTPARTCOUNT
2:1:1:MACHINE/READ/CNCSPINDLE?ACTSPEED
2:1:1:MACHINE/READ/CNCSPINDLE?ACTOVERRIDE
2:1:1:MACHINE/READ/CNCCHANNEL/POSTCPBCS?X
2:1:1:MACHINE/READ/CNCCHANNEL/POSTCPWCS?X
2:1:1:MACHINE/READ/CNCDIAGNOSIS?R5141
Analog
Part count
Analog
Actual spindle speed
Analog
Spindle overrate
Analog
X-axis machine position
Analog
X-axis absolute position
Analog
1st spindle overload
Table 4.14: SYNTEC CNC OPC UA Driver Error Codes
Error Code
Description
0x8100
0x8400
0x8500
0x8600
No data received for tag
No data received for array tag
Incorrect data access for array tag
Received data type is incorrect
Table 4.15: FAGOR CNC Driver Tag List (FAGOR)
Tag Name
Address
Type
Description
partact
partact
Analog
optime
optime
Analog
tno
spdlact
feedact
spdlovrd
tno
spdlact
feedact
spdlovrd
Analog
Analog
Analog
Analog
feedovrd
feedovrd
Analog
almcount
ncptr
almcount
ncptr
Analog
Analog
Part counter
Part-program execution time (in
hundredths of a second).
Number of the active tool
Real spindle speed
Real feedrate on the tool path
Active spindle speed override
Active feedrate (feed override) percentage
Number of errors at the CNC
Number of the line of the program
Advantech WebAccess/CNC User Manual
54
dno
Analog
gP114
globalP114
cP10014
commonP10014
GX1
GX1
GY1
GY1
GZ1
GZ1
CommandX
CommandY
CommandZ
ActualX
ActualY
ActualZ
CommandX
CommandY
CommandZ
ActualX
ActualY
ActualZ
ToGoX
ToGoX
ToGoY
ToGoY
ToGoZ
ToGoZ
status
cncstatu
mode
cncmode
progname
progname
date
cncdate
time
cnctime
version
model
cncversion
cncmodel
Mcode
Mcode
Gcode
Gcode
Number of the active tool offset
Value of the global arithmetic
Analog
parameter [114] (R/W)
Value of the common arithmetic
Analog
parameter [10014] (R/W)
X axis (G159=1). Value of the active
Analog zero offset (absolute G159 + incremental G158)
Y axis (G159=1). Value of the active
Analog zero offset (absolute G159 + incremental G158)
Z axis (G159=1). Value of the active
Analog zero offset (absolute G159 + incremental G158)
Analog Programmed X axis position
Analog Programmed Y axis position
Analog Programmed Z axis position
Analog Real X axis position
Analog Real Y axis position
Analog Real Z axis position
Distance left (to go) for the X axis to
Analog
reach the programmed coordinate
Distance left (to go) for the Y axis to
Analog
reach the programmed coordinate
Distance left (to go) for the Z axis to
Analog
reach the programmed coordinate
CNC status.
0: Not ready
1: Ready
Discrete
2: In execution
3: Interrupted
4: In error
Mode that the interface is in
0: Automatic
Discrete
1: Manual
2: MDI/MDA
Name of the program selected in
Text
automatic
Text
Date in year-month-day format
Time in hours-minutes-seconds forText
mat
Text
CNC version and release number
Text
CNC model
“M” functions of the master spindle
Text
to be displayed in the history
“G” functions to be displayed in the
Text
history.
Table 4.16: FAGOR CNC Driver Error Codes
Error Code
Description
0x8001
No data received
55
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
dno
Chapter 4
Table 4.15: FAGOR CNC Driver Tag List (FAGOR)
Table 4.16: FAGOR CNC Driver Error Codes
0x8002
Address setting error
Table 4.17: RMS6-ERP Driver Tag List (RODERS)
Tag Name
Address
Type
Description
version
time
name
location
cluster
ver
version
time
name
location
cluster
ver
Analog
Text
Text
Text
Text
Text
mode
mode
Discrete
state
state
Discrete
door
doorstate
Discrete
autodoor
autodoorstate
Discrete
tooldoor
tooldoorstate
Discrete
feed
ovfeed
tool
tooltype
feed
ov_feed
tool
tooltype
Analog
Analog
Analog
Text
spinsped
spinspeed
Analog
ovspin
ov_spinspeed
Analog
cname
ncpgm
startjob
lastjob
subpgm
substart
percent
line
chuck
pallet
bdestart
optime
cname
ncpgm
start
lastjobend
subpgm
substart
percent
line
chuck
pallet
bde_start
op_duration
Text
Text
Text
Text
Text
Text
Analog
Analog
Analog
Analog
Text
Analog
XML version of output format
Timestamp
Machine name
Machine location
Machine cluster
Version of RMS6 control software
Mode
0: MANUAL
1: AUTOMATIC
State of machine
0: IDLE
1: OFF
2: ECO
3: RUNNING
4: ERROR
State of operator machine door
0: CLOSED
1: OPEN
State of automatic door
0: CLOSED
1: OPEN
State of toolchanger door
0: CLOSED
1: OPEN
Feed (mm/min)
Override feed (in percent)
Location number of actual tool
Spindle tool type
Spindle speed (rpm) of current spindle
Override spindle speed (in percent,
current spindle)
Current job
Path of chosen NC file
Time of job start
Time of completing last job
Path of the actual subprogram
Time of beginning subprogram
Progress (in percent)
Current program line
Current chuck
Current pallet
Start of operating data collecting
Operating time (seconds)
Advantech WebAccess/CNC User Manual
56
op_percent
nc_duration
nc_percent
set_duration
set_percent
Text
Analog
Text
Analog
Text
spinsta
spin_start
Text
spintime
spin_duration
Analog
spin2sta
spin2_start
Text
spin2tim
spin2_duration
Analog
Operating utilization in percent
Milling time (seconds)
Milling utilization in percent
Setup time (seconds)
Setup time utilization in percent
Start of spindle data collecting of
first spindle
Spindle on time of first spindle (seconds)
Start of spindle data collecting of
second spindle
Spindle on time of second spindle
(seconds)
Table 4.18: Table 4.18: RMS6-ERP Driver Error Codes
Error Code
Description
0x8001
0x8002
0x8003
0x8004
0x8005
0x8006
0x8007
XML file storage path error
Error creating parse XML file storage path
Error moving XML file to parse XML path
XML file parsing failed
XML file content is empty
XML root node is not ERP
No data at this measuring point
Table 4.19: OKUMA CNC Driver Tag List (OKUMUM)
Tag Name
Address
Type
axesNo
Get.0.1001.0.0.8
Analog
BlkNo
Get.14.3905.0.0.8
Get.0.4001.0.0.14/SubscriptArray
Get.0.3066.0.0.8/SubscriptArray
Get.0.3067.0.0.8/SubscriptArray
Analog
Analog
(Array)
Analog
(Array)
Analog
(Array)
CRCNo
Get.0.2013.0.0.8
Analog
FCmd
FeedRMin
FeedRRev
Get.0.5139.0.0.0
Get.0.3018.0.0.2
Get.0.3019.0.0.2
Analog
Analog
Analog
FeedS1Ld
Get.0.2174.0.0.8
Analog
OvFeed
Get.0.2018.0.0.8
Analog
OvRapid
Get.0.2017.0.0.8
Analog
ComVar
count
countS
57
Description
Get the number of the NC-controlled axes
Get the currently executed block No
Get the common variable by array
size
Get the number of machined workpieces
Set the number of machined workpieces
Get the selected cutter radius compensation number
Get the f command value
Get the actual feed rate (mm/min)
Get the actual feed rate (mm/rev)
Get the NC feed shaft loading (%)
(starting by address 2174.0)
Get the state of feed rate override
SW (%)
Get the state of rapid override SW
(%)
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
oputi
nctime
ncuti
settime
setuti
Chapter 4
Table 4.17: RMS6-ERP Driver Tag List (RODERS)
Table 4.19: OKUMA CNC Driver Tag List (OKUMUM)
Get the state of spindle override
SW (%)
Get the current position (starting by
address 3004.0)
Get the remainder distance (starting
by address 3011.0)
Get the machine position (starting
by address 3005.0)
Get the relative position (starting by
address 3007.0)
Get the target position (starting by
address 3012.0)
Get the spindle load (%)
Get the actual spindle revolutions
per minute (rpm)
Get the command spindle revolution per minute (rpm)
Get the current tool No.
Get the next tool No.
Get the selected tool length offset
number
Get the selected work coordinate
system number
Get the Dry run status value
Get the f command kind
Get the machine block status value.
Machine type
Get the NC status (alarm)
Get the NC status (hold)
Get the NC status (limit)
Get the NC status (program stop)
Get the NC status (running)
Get the NC status (STM)
Get the NC status (turret selection)
Operation mode
Running(1) or Not running(0) as the
program status
OvSpin
Get.0.2016.0.0.8
Analog
PosAbs1
Get.0.3004.0.0.2
Analog
PosDis1
Get.0.3011.0.0.2
Analog
PosMac1
Get.0.3005.0.0.2
Analog
PosRel1
Get.0.3007.0.0.2
Analog
PosTar1
Get.0.3012.0.0.2
Analog
Spinload
Get.0.2014.0.0.8
Analog
SpinReA
Get.0.2007.0.0.8
Analog
SpinReC
Get.0.2006.0.0.8
Analog
TLNo
TLNoNext
Get.0.2034.0.0.9
Get.0.2035.0.0.9
Analog
Analog
TLOffNo
Get.0.2012.0.0.8
Analog
WCNo
Get.0.2061.0.0.8
Analog
dryrun
FCKind
MLock
Mtype
NCalarm
NChold
NClimit
NCPstop
NCRun
NCSTM
NCTurr
Opmode
Get.0.1078.0.0.8
Get.0.1367.0.0.8
Get.0.1079.0.0.8
Get.14.1008.0.0.8
Get.14.1.0.0.8
Get.14.1.0.2.8
Get.14.1.0.1.8
Get.14.1.0.5.8
Get.14.1.0.4.8
Get.14.1.0.3.8
Get.14.1.0.6.8
Get.14.1001.0.0.8
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
ProgStat
Get.14.1004.0.0.8
Discrete
SingBlk
SpinStat
AlmMes
Get.0.1080.0.0.8
Get.0.1966.0.0.8
Get.0.5941.0.0.0/SubscriptArray
Get.14.5003.0.0.0
Ax1name
Get.0.5001.0.0.0
Execname
Get.0.5035.0.0.0
Gcode
GetByText.0.6013
Discrete Get the single block state
Discrete Get spindle rotation status
Text
Alarm history information (0~19)
(Array)
Text
Get the alarm message
Get the axis name (starting by
Text
address 5001.0)
Get O number after the program
Text
has been selected
Text
Get the effective G code
(Array)
Mcode
GetByText.0.6017
AlmHisNo
Advantech WebAccess/CNC User Manual
Text
(Array)
58
Get the effective M code
Get.14.5916.0.0.0
Text
Text
(Array)
ProgBlk
GetByText.0.6011
Progname
Get.14.5010.0.0.0
Text
Schename
Get.14.5011.0.0.0
Text
SeqNo
Get.14.5014.0.0.0
Text
TCut
TCutS
TExtIn
TExtInS
TNCRun
TNCRunS
TPowOn
TPowOnS
Get.0.3062.0.0.13
Get.0.3063.0.0.13
Get.0.3064.0.0.13
Get.0.3065.0.0.13
Get.0.3058.0.0.13
Get.0.3059.0.0.13
Get.0.3056.0.0.13
Get.0.3057.0.0.13
Text
Text
Text
Text
Text
Text
Text
Text
TSpinRe
Get.0.3060.0.0.13
Text
TSpinReS
Get.0.3061.0.0.13
Text
Get the machine ID
Get the execute program display.
Column number: 35
Get the selected main program file
name
Get the schedule program name
Get the currently executed
sequence No
Get the cutting time (sec)
Set the cutting time (sec)
Get the external input time (sec)
Set the external input time (sec)
Get the NC running time (sec)
Set the NC running time (sec)
Get the power on time (sec)
Set the power on time (sec)
Get the spindle revolution time
(sec)
Set the spindle revolution time (sec)
Table 4.20: OKUMA CNC Driver Tag List (OKUMUL)
Tag Name
Address
Type
axisSped
Get.0.3115.0.0.2
Analog
BaxisLd
Get.0.2170.0.0.8
Analog
Get.0.4001.0.0.14/SubscriptArray
Get.0.3156.0.0.8/SubscriptArray
Get.0.3157.0.0.8/SubscriptArray
Analog
(Array)
Analog
(Array)
Analog
(Array)
edgeNo
Get.0.1598.0.0.8
Analog
FeedS1Ld
Get.0.2037.0.0.8
Analog
MaxisLd
Get.0.2039.0.0.8
Analog
MaxiSped
noseRNo
Get.0.2041.0.10.8
Get.0.2145.0.0.8
Analog
Analog
OffNo
Get.0.2144.0.0.8
Analog
Opmode
Get.0.1004.0.0.8
Analog
PosAbs1
Get.0.3002.0.0.2
Analog
PosDis1
Get.0.3008.0.0.2
Analog
PosMac1
Get.0.3037.0.0.2
Analog
ComVar
count
countS
59
Description
Get the axis travel speed in the currently specified unit
Get the current B-axis load value
(%).
Get the common variable by array
size.
Get the number of machined workpieces
Set the number of machined workpieces
Get the indexed edge no. to the
current machining position
Get the NC feed shaft loading (%)
(starting by address 2037.0)
Get the turret of M-axis load value
(%).
Get the M-axis speed (RPM).
Get the selected nose R no.
Get the selected offset no.
Operation mode: AUTO(128),MDI(64),MANUAL(32)
Get the current position (starting by
address 3002.0)
Get the remainder distance (starting by address 3008.0)
Get the machine position (starting
by address 3037.0)
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
MID
Chapter 4
Table 4.19: OKUMA CNC Driver Tag List (OKUMUM)
Table 4.20: OKUMA CNC Driver Tag List (OKUMUL)
PosNo
Get.0.2145.0.0.8
Analog
PosTar1
Get.0.3009.0.0.2
Analog
Spin1Ld
Get.0.2038.0.0.8
Analog
Spin2Ld
Get.0.2040.0.0.8
Analog
SpinSped
SurfSped
Get.0.2006.0.0.8
Get.0.3053.0.0.2
Analog
Analog
TLNo
Get.0.2095.0.0.9
Analog
TurrNo
Get.0.2421.0.0.8
Analog
Mtype
NCalarm
NChold
NClimit
NCPstop
NCRun
NCSTM
NCTurr
Get.14.1008.0.0.8
Get.0.19.0.0.8
Get.0.19.0.2.8
Get.0.19.0.1.8
Get.0.19.0.5.8
Get.0.19.0.4.8
Get.0.19.0.3.8
Get.0.19.0.6.8
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
ProgStat
Get.0.1901.0.0.8
Discrete
SpinSele
Get.0.1207.0.0.0
Discrete
SysSele
Get.14.1904.0.0.8
Discrete
Turret
AlmMes
Get.14.1006.0.0.8
Get.0.5009.0.0.0
Discrete
Text
Ax1name
Get.0.5020.0.0.0
Text
Feedtype
IGFname
MID
Get.0.5022.0.0.0
Get.0.5146.0.0.0
Get.14.5916.0.0.0
Text
Text
Text
Progname
Get.0.5004.0.0.0
Text
ProgNo
Get.0.5001.0.0.0
Text
Schename
Get.0.5006.0.0.0
Text
SeqNo
Get.0.5002.0.0.0
Text
TCut
TCutS
TExtIn
TExtInS
TNCRun
TNCRunS
TPowOn
TPowOnS
Get.0.3164.0.0.13
Get.0.3165.0.0.13
Get.0.3166.0.0.13
Get.0.3167.0.0.13
Get.0.3160.0.0.13
Get.0.3161.0.0.13
Get.0.3158.0.0.13
Get.0.3159.0.0.13
Text
Text
Text
Text
Text
Text
Text
Text
Advantech WebAccess/CNC User Manual
60
Get the indexed position no. to the
current machining position
Get the target position (starting by
address 3009.0)
Get the spindle load value (%)
Get the second spindles load value
(%)
Get the spindle speed (RPM)
Get the surface speed.
Get the indexed tool no. to the current machining position
Get the indexed turret no. to the
current machining position
Machine type
Get the NC status (alarm)
Get the NC status (hold).
Get the NC status (limit).
Get the NC status (program stop).
Get the NC status (running).
Get the NC status (STM).
Get the NC status (turret selection).
Running(1) or Not running(0) as the
program status
Get the currently selected spindle.
Get the system selected on the
panel
Get the currently selected turret.
Get the alarm message
Get the axis name (starting by
address 5020.0)
Get the feed rate type.
Get the IGF-Data file name.
Get the machine ID.
Get the main program file name
currently selected.
Get the program no. (name) currently executed.
Get the schedule program name
Get the currently executed
sequence No
Get the cutting time (sec).
Set the cutting time (sec).
Get the external input time (sec).
Set the external input time (sec).
Get the NC running time (sec).
Set the NC running time (sec).
Get the power on time (sec).
Set the power on time (sec).
TSpinRe
Get.0.3162.0.0.13
Text
TSpinReS
Get.0.3163.0.0.13
Text
Get the spindle revolution time
(sec).
Set the spindle revolution time
(sec).
Table 4.21: OKUMA CNC Driver Error Codes
Description
Incorrect tag address
Connection fail
Communication fail
API fail
The number of API is not correct
Table 4.22: SIEMENS CNC Driver Tag List (S840D)
Tag Name
feedov
rapidov
spinspd
Address
feedov
rapidov
DBD21,100
Type
Analog
Analog
Analog
spinov
DBB34,19
Analog
CHACTIVE
CHINT
CHRESET
DRIRDY
emergen
AUTO
JOG
MDI
NCALM
NCRDY
PGABORT
PGINT
PGRUN
PGSTOP
PGWAIT
REF
REPOS
CHACTIVE
CHINT
CHRESET
DRIRDY
emergen
AUTO
JOG
MDI
NCALM
NCRDY
PGABORT
PGINT
PGRUN
PGSTOP
PGWAIT
REF
REPOS
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
TEACHIN
TEACHIN
Discrete
ALM_TMP
ALM_HS
ALM_BAT
M00M01
M02M30
DBX10,109
DBX10,109
DBX10,109
DBX21,32
DBX21,33
Discrete
Discrete
Discrete
Discrete
Discrete
61
Description
Feedrate override
Rapid traverse override
Spindle speed
Spindle override (DBB3x
depends on axis sequence)
Channel status active
Channel status interrupted
Channel status reset
Driver is ready
Status of emergency
Automatic mode
JOG mode
MDI mode
NC alarm is present
NC is ready
Program status aborted
Program status interrupted
Program status running
Program status stopped
Program status wait
Active REF machine function
Active REPOS machine function
Active TEACH IN machine function
Temperature alarm
Heat sink alarm
Battery alarm
M00/M01 active
M02/M30 active
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Error Code
0x8001
0x8002
0x8003
0x8004
0x8005
Chapter 4
Table 4.20: OKUMA CNC Driver Tag List (OKUMUL)
Table 4.23: SIEMENS CNC Driver Tag List (S828D)
Tag Name
feedov
rapidov
spinspd
Address
feedov
rapidov
DBD2500,4000
Type
Analog
Analog
Analog
spinov
DBB3804,2003
Analog
CHACTIVE
CHINT
CHRESET
DRIRDY
emergen
AUTO
JOG
MDI
NCALM
NCRDY
PGABORT
PGINT
PGRUN
PGSTOP
PGWAIT
REF
CHACTIVE
CHINT
CHRESET
DRIRDY
emergen
AUTO
JOG
MDI
NCALM
NCRDY
PGABORT
PGINT
PGRUN
PGSTOP
PGWAIT
REF
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
TEACHIN
TEACHIN
Discrete
ALM_TMP
M00M01
M02M30
DBX2700,3
DBX3300,0
DBX3300,1
Discrete
Discrete
Discrete
REQ_ABS
DBX2600,1
Discrete
REQ_DIS
DBX2600,1
Discrete
Description
Feedrate override
Rapid traverse override
Spindle speed
Spindle override (DBB380x
depends on axis sequence)
Channel status active
Channel status interrupted
Channel status reset
Driver is ready
Status of emergency
Automatic mode
JOG mode
MDI mode
NC alarm is present
NC is ready
Program status aborted
Program status interrupted
Program status running
Program status stopped
Program status wait
Active REF machine function
Active TEACH IN machine
function
Temperature alarm
M00/M01 active
M02/M30 active
Request the absolute position
of axes (R/W)
Request the distances to go
information of axes (R/W)
Table 4.24: SIEMENS Driver Error Codes
Error Code
0x8020
0x8100
0x8102
0x8XYY
0xB000
0xB1XX
0xB2XX
0xB300
Description
Error when converting Gray code or Binary code
Open port failed
Data size error
X: Error class, YY: Error code
Message sequence error
Error Code (byte 15)
Message error (byte 16)
Data size error
Advantech WebAccess/CNC User Manual
62
Address
posabs1
posabs_1
posmac1
posmac_1.0
pos1rel1
posrel_1.0
posdis1
posdis_1.0
posned1
posned_1
ncstatus
ncstatus
isalarm
isalarm
ncalarm
ncalarm
stopcode
stopcode
plcalarm
plcalarm
opemsg
opemsg
allalarm
allalarm
emergen
emergen
mode
mode
axescur
axescur
sysno1
sysno_1
sysname1
sysname_1
version1
version_1
Type
Description
Read axis 1 absolute position informaAnalog tion
_1: axis number 1
Read axis 1 machine position information
Analog
_1.0: axis number 1, normal
_1.1: axis number 1, Skip is on
Read axis 1 relative position information
Analog
_1.0: axis number 1, normal
_1.1: axis number 1, Skip is on
Read axis 1 distance to go information
Analog _1.0: axis number 1, normal
_1.1: axis number 1, Skip is on
Read axis 1 next distance information
Analog
_1: axis number 1
Status of automatic operation
0: RESET
Discrete 1: STOP
2: HOLD
3: START
Discrete Status of alarm
Text
NC alarm array(10)
(Array)
Text
Stop code array(10)
(Array)
Text
PLC alarm message array(10)
(Array)
Text
Operator message array(10)
(Array)
Text
No alarm type distinction array(10)
(Array)
Discrete Status of emergency
Mode selection
0: Jog
1: Handle
2: Incremental
3: Manual arbitrary feed
4: Reference position return
Analog
5: Automatic initial set mode
6: Jog-handle simultaneous
8: Memory
9: Tape
11: MDI
14: Sub part system control I mode ON
Analog Current controlled axes
System software number
Text
_1: axis number 1
System name
Text
_1: axis number 1
PLC version
Text
_1: axis number 1
63
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Tag Name
Chapter 4
Table 4.25: MITSUBISHI CNC Driver Tag List
Table 4.25: MITSUBISHI CNC Driver Tag List
serialno
setfeed
actfeed
ovfeed
ovrapid
serialno
setfeed
actfeed
ovfeed
ovrapid
Text
Analog
Analog
Analog
Analog
actspin1
actspin_1
Analog
ovspin
ovspin
Analog
sp1load
spload_1
Analog
ax1load
axload_1
Analog
pcount
prequire
mainprog
subprog
mainseq
subseq
powhour
powmin
powsec
runhour
runmin
runsec
starhour
starmin
starsec
sysyear
sysmonth
sysdate
syshour
sysmin
syssec
pcount
prequire
mainprog
subprog
mainseq
subseq
powhour
powmin
powsec
runhour
runmin
runsec
starthour
startmin
startsec
sysyear
sysmonth
sysdate
syshour
sysmin
syssec
gcode
gcode
Analog
Analog
Text
Text
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
(Array)
mcode1
mcode_1
Analog
tcode1
tcode_1
Analog
bcode1
bcode_1
Analog
d1code1
dcode1_1
Analog
d2code1
dcode2_1
Analog
hcode1
hcode_1
Analog
Advantech WebAccess/CNC User Manual
64
NC serial number
Read feed rate command
Read actual feed rate
Read feed rate override
Read rapid override
Read actual spindle speed
_1: spindle number 1
Read spindle override
Read spindle 1 load (%)
_1: spindle number 1
Read axis 1 load (%)
_1: axis number 1
Read part count
Read required part count
Read main program number
Read sub program number
Read main program sequence
Read sub program sequence
Read power time (hours)
Read power time (minutes)
Read power time (seconds)
Read run time (hours)
Read run time (minutes)
Read run time (seconds)
Read start time (hours)
Read start time (minutes)
Read start time (seconds)
Read system time (year)
Read system time (month)
Read system time (date)
Read system time (hours)
Read system time (minutes)
Read system time (seconds)
G code array(21)
M code1 (1 to 4)
_1: command number 1
T code1 (1 to 4)
_1: command number 1
B code1 (1 to 4)
_1: command number 1
D1 code1 (shape compensation number)
_1: axis number 1
D2 code1 (wear compensation number)
_1: axis number 1
H code1 (length compensation number)
_1: axis number 1
mac_500
TLType
tolifetype
TLTitle
tolifeti
TLg1t1
tolifevalue_1_1
getodata
getodata
offtitle
offtitle
offset_0
offset_0
offset_1
offset_1
offset_2
offset_2
offset_3
offset_3
offset_4
offset_4
offset_5
offset_5
offset_6
offset_6
offset_7
offset_7
offset_8
offset_8
wcg54_1
wc_g54_1
wcg55_1
wc_g55_1
wcg56_1
wc_g56_1
wcg57_1
wc_g57_1
wcg58_1
wc_g58_1
wcg59_1
wc_g59_1
wcext_1
wc_ext_1
B_0
B_0
C_0
C_0
Read/write macro 500 value
_500: macro number 500
Get tool life type
0: Disabled
Discrete
1: Type 1
2: Type 2
Text
Get the array(11) title of tool life
Array
Get the array(11) values of tool life by
Text
tool group number 1 and tool number 1
Array
_1: tool group number 1
_1: tool number 1
Flag (0 ->1) from getting all tool offset
Discrete data including offtitle, offset_0,
offset_1, …, offset_8
Text
Reads tool offset's title array(9)
Array(9)
Analog
R/W tool offset value (Column 0)
Array
Analog
R/W tool offset value (Column 1)
Array
Analog
R/W tool offset value (Column 2)
Array
Analog
R/W tool offset value (Column 3)
Array
Analog
R/W tool offset value (Column 4)
Array
Analog
R/W tool offset value (Column 5)
Array
Analog
R/W tool offset value (Column 6)
Array
Analog
R/W tool offset value (Column 7)
Array
Analog
R/W tool offset value (Column 8)
Array
R/W G54 work coordinates data
Analog
_1: G54 number 1
R/W G55 work coordinates data
Analog
_1: G55 number 1
R/W G56 work coordinates data
Analog
_1: G56 number 1
R/W G57 work coordinates data
Analog
_1: G57 number 1
R/W G58 work coordinates data
Analog
_1: G58 number 1
R/W G59 work coordinates data
Analog
_1: G59 number 1
R/W EXT work coordinates data
Analog
_1: EXT number 1
Fixed counter B_0 to B_1FFF (1 bit,
Analog
8192 points)
Counter coil C_0 to C_1255 (1 bit,
Analog
1256 points)
Analog
65
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
mac500
Chapter 4
Table 4.25: MITSUBISHI CNC Driver Tag List
Table 4.25: MITSUBISHI CNC Driver Tag List
D_0
D_0
E_0
E_0
F_0
F_0
G_0
G_0
I_0
I_0
J_0
J_0
L_0
L_0
M_0
M_0
Q_0
Q_0
R_0
R_0
SM_0
SM_0
SB_0
SB_0
SD_0
SD_0
ST_0
ST_0
SW_0
SW_0
T_0
T_0
U_0
U_0
V_0
V_0
W_0
W_0
X_0
X_0
Y_0
Y_0
ZR_0
ZR_0
MASTATUS
MASTATUS
Advantech WebAccess/CNC User Manual
Data register D_0 to D_4095 (16 bit,
2048 points)
Special relay E_0 to E_127 (1bit, 248
Analog
points)
Alarm message interface, temporary
Analog memory. F_0 to F_1024 (1 bit, 1024
points)
Temporary memory G_0 to G_3071
Analog
(1bit, 3072 points)
I device I_0 to I_3FF (1 bit, 1024
Analog
points)
J device J_0 to J_63F (1 bit, 1600
Analog
points)
Latch relay L_0 to L_511 (1 bit, 512
Analog
points)
Temporary memory M_0 to M10239 (1
Analog
bit, 10240 points)
Q device Q_0 to Q_1151 (1 bit, 1152
Analog
points)
File register, CNC word interface R_0
Analog
to R_32767 (16 bit, 32768 points)
Special relay SM_0 to SM_127 (1bit,
Analog
128 points)
Special relay SB_0 to SB_1FF (1 bit,
Analog
512 points)
Special register SD_0 to SD_127 (16
Analog
bit, 128 points)
Cumulative timer ST_0 to ST_1063 (1
Analog
bit, 1064 points)
Special register SW_0 to SW_FDF (16
Analog
bit, 4096 points)
10ms unit timer coil T_0 to T_1703 (1
Analog
bit, 1704 points)
For two input signal lines to programAnalog mable controller U_0 to U_17F (1 bit,
384 points )
V device V_0 to V_255 (1 bit, 256
Analog
points)
For two output signal lines to programAnalog mable controller W_0 to W_1FFF (1
bit, 512 points)
Input signal to PLC X_0 to X_1FFF (1
Analog
bit, 8192 points)
Output signal from PLC Y_0 to
Analog
Y_1FFF (1 bit, 8192 points)
File register ZR_0 to ZR_32767 (16 bit,
Analog
32768 points)
CNC connection status
0: DISCONNECT
Discrete 1: RUN
2: IDLE
3: ALARM
Analog
66
1.
2.
Table 4.26: MITSUBISHI Driver Error Codes
Error Code
0x8001
0x8002
0x8003
0x8004
0x8005
0x8006
0x8007
0x8B00
0x8C00
Description
Incorrect tag address
Initial API fail
Device connecting
Connection fail
Command fail
Incorrect array size
Message error (getodata is not executed)
Point value is not initialized
Driver (.exe) is not executed
Table 4.27: KUKA Robot Driver Tag List (OPC UA)
Tag Name
IPAddr
MacAddr
SubMask
Gateway
CUpTime
ProjName
ProjVer
StUpTime
UpsState
ExecLine
Address
IPAddr
MacAddr
SubMask
Gateway
CUpTime
ProjName
ProjVer
StUpTime
UpsState
ExecLine
Type
Text
Text
Text
Text
Text
Text
Text
Text
Text
Analog
ExecModu
ExecModu
Text
ExecMode
ExecMode
Discrete
ProgStat
ProgStat
Text
ProgLoad
ProgLoad
Discrete
ProgName
A1Pos
ProgName
A1Pos
Text
Analog
67
Description
Controller IP address
Controller MAC address
Controller subnet mask
Controller gateway
Controller up time
Current project name
Current project version
Startup time
UPS state
Execution command pointer line
Execution command pointer
module
Execution mode:
0: Cycle
1: Continuous
2: Step
Program state
Task program loaded status:
0: False
1: True
Task program name
Axis 1 actual position
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
3.
Mitsubishi driver supports two scan time setting. The first scan
timer interval is the same as other drivers which set in the TCPIP
port setting. The second scan timer (ScanTimeMs2) is designed in
"ms". User can add "/2" at the end of tag address to use the second
timer (ScanTimeMs2) as the address setting "powsec/2".
All the Mitsubishi CNC devices must be set in the same WebAccess TCPIP port and share the Scan Time and ScanTimeMS setting.
Please install the runtime library "FCSB1224W100-A5.exe" downloaded form Mitsubishi's website before using WebAccess/CNC
driver to connect Mitsubishi CNC.
Chapter 4
Note!
Table 4.27: KUKA Robot Driver Tag List (OPC UA)
A1Spd
A1SpdRel
A1Spd
A1SpdRel
Analog
Analog
A1TRDen
A1TRDen
Analog
A1TRNum
A1TRNum
Analog
A1ID
A1AssetID
Text
A1MProf
A1MProf
Discrete
A2Pos
A2Spd
A2SpdRel
A2Pos
A2Spd
A2SpdRel
Analog
Analog
Analog
A2TRDen
A2TRDen
Analog
A2TRNum
A2TRNum
Analog
A2ID
A2AssetID
Text
A2MProf
A2MProf
Discrete
A3Pos
A3Spd
A3SpdRel
A3Pos
A3Spd
A3SpdRel
Analog
Analog
Analog
A3TRDen
A3TRDen
Analog
A3TRNum
A3TRNum
Analog
A3ID
A3AssetID
Text
A3MProf
A3MProf
Discrete
A4Pos
A4Spd
A4SpdRel
A4Pos
A4Spd
A4SpdRel
Analog
Analog
Analog
A4TRDen
A4TRDen
Analog
A4TRNum
A4TRNum
Analog
A4ID
A4AssetID
Text
Advantech WebAccess/CNC User Manual
68
Axis 1 actual speed
Axis 1 relative speed
Axis 1 transmission ratio
denominator
Axis 1 transmission ratio numerator
Axis 1 asset ID
Axis 1 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Axis 2 actual position
Axis 2 actual speed
Axis 2 relative speed
Axis 2 transmission ratio
denominator
Axis 2 transmission ratio numerator
Axis 2 asset ID
Axis 2 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Axis 3 actual position
Axis 3 actual speed
Axis 3 relative speed
Axis 3 transmission ratio
denominator
Axis 3 transmission ratio numerator
Axis 3 asset ID
Axis 3 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Axis 4 actual position
Axis 4 actual speed
Axis 4 relative speed
Axis 4 transmission ratio
denominator
Axis 4 transmission ratio numerator
Axis 4 asset ID
A4MProf
Discrete
A5Pos
A5Spd
A5SpdRel
A5Pos
A5Spd
A5SpdRel
Analog
Analog
Analog
A5TRDen
A5TRDen
Analog
A5TRNum
A5TRNum
Analog
A5ID
A5AssetID
Text
A5MProf
A5MProf
Discrete
A6Pos
A6Spd
A6SpdRel
A6Pos
A6Spd
A6SpdRel
Analog
Analog
Analog
A6TRDen
A6TRDen
Analog
A6TRNum
A6TRNum
Analog
A6ID
A6AssetID
Text
A6MProf
A6MProf
Discrete
FLCM_X
FLCM_X
Analog
FLCM_Y
FLCM_Y
Analog
FLCM_Z
FLCM_Z
Analog
FLCM_A
FLCM_A
Analog
FLCM_B
FLCM_B
Analog
FLCM_C
FLCM_C
Analog
FLIner_X
FLIner_Y
FLIner_Z
FLMass
FLIner_X
FLIner_Y
FLIner_Z
FLMass
Analog
Analog
Analog
Analog
69
Axis 6 asset ID
Axis 6 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Flange load's center of mass in
Cartesian coordinates X
Flange load's center of mass in
Cartesian coordinates Y
Flange load's center of mass in
Cartesian coordinates Z
Flange load's center of mass in
orientation A
Flange load's center of mass in
orientation B
Flange load's center of mass in
orientation C
Flange load's inertia X
Flange load's inertia Y
Flange load's inertia Z
Flange load's mass
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
A4MProf
Axis 4 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Axis 5 actual position
Axis 5 actual speed
Axis 5 relative speed
Axis 5 transmission ratio
denominator
Axis 5 transmission ratio numerator
Axis 5 asset ID
Axis 5 motion profile
0: Other
1: Rotary
2: Rotary Endless
3: Linear
4: Linear Endless
Axis 6 actual position
Axis 6 actual speed
Axis 6 relative speed
Axis 6 transmission ratio
denominator
Axis 6 transmission ratio numerator
Chapter 4
Table 4.27: KUKA Robot Driver Tag List (OPC UA)
Table 4.27: KUKA Robot Driver Tag List (OPC UA)
InCont
InCont
Discrete
InMotion
InMotion
Discrete
IntialOP
IntialOP
Text
OnPath
OnPath
Discrete
SpeedOV
SpeedOV
CurrAct
CurrAct
MotTemp
MotTemp
Analog
Analog
(Array)
Analog
(Array)
PowFail
PowFail
Discrete
EmerStop
EmerStop
Discrete
ENDevice
ENDevice
Discrete
IntEmer
IntEmer
Discrete
OPMode
OPMode
Discrete
ProtStop
ProtStop
Discrete
OPCver
OPCTime
OPCStart
OPCver
OPCTime
OPCStart
Text
Text
Text
OPCState
OPCState
Discrete
Advantech WebAccess/CNC User Manual
70
In control status:
0: False
1: True
In motion status:
0: False
1: True
Initial operation
On path status:
0: False
1: True
Speed override
Actual current of axes
Current motor temperature of an
axes
Display of power failure:
0: False
1: True
Emergency stop status:
0: False
1: True
Enabling device status:
0: False
1: True
Internal emergency stop status:
0: False
1: True
Operation mode
0: Other (INVALID)
1: Manual reduced speed (T1)
2: Manual high speed (T2)
3: Automatic (AUT)
4: Automatic external (EX)
Protective stop status:
0: False
1: True
OPC UA software version
OPC UA server time
OPC UA server start time
OPC UA server state
0: Running
1: Failed
2: No configuration
3: Suspended
4: Shutdown
5: Test
6: Communication fault
7: Unknown
Description
No data received for tag
Problem with the tag's size setting
The array size of tag is smaller than the real tag
No data received for array tag
Incorrect data access for array tag
Received data type is incorrect
71
Advantech WebAccess/CNC User Manual
WebAccess/CNC Runtime & Driver List
Error Code
0x8100
0x8200
0x8300
0x8400
0x8500
0x8600
Chapter 4
Table 4.28: KUKA Robot Driver Error Codes
Advantech WebAccess/CNC User Manual
72
Chapter
5
WebAccess/CNC
Driver for FANUC
Robot
5
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 variables, 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 hardware).
6. Configure a Comport for the SCADA Node that is a TCPIP type Comport.
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
74
Chapter 5
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
75
Advantech WebAccess/CNC User Manual
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 setting. The default port number is not necessary in this robot driver.
FANUC Robot's tags can be divided into I/O measuring points and Data Table measuring 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: CNC Driver Tag List (FANUC Robot I/O)
Tag Name Address
Type
Description
ClearAlm
AI1
AO1
UI01
UI02
UI03
UI04
UI05
UI06
UI07
UI08
UI09
UI10
UI11
UI12
UI13
UI14
UI15
UI16
UI17
UI18
UO01
UO02
UO03
Discrete
Analog
Analog
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Clear Robot's History Alarm
Analog Input, AI(1)
Analog Output, AO(1)
IMSTP (Emergency Stop)
HOLD
SFSPD (Safe Speed)
Cycle Stop
Fault Reset
Start
Home Signal
Enable
RSR/PNS 1
RSR/PNS 2
RSR/PNS 3
RSR/PNS 4
RSR/PNS 5
RSR/PNS 6
RSR/PNS 7
RSR/PNS 8
PNS strobe
Prod Start
Command Enable
System Ready
Program Running
ClearAlarm
AI.1
AO.1
UI.1
UI.2
UI.3
UI.4
UI.5
UI.6
UI.7
UI.8
UI.9
UI.10
UI.11
UI.12
UI.13
UI.14
UI.15
UI.16
UI.17
UI.18
UO.1
UO.2
UO.3
Advantech WebAccess/CNC User Manual
76
UO.4
UO.5
UO.6
UO.7
UO.8
UO.9
UO.10
UO.11
UO.12
UO.13
UO.14
UO.15
UO.16
UO.17
UO.18
UO.19
UO.20
RDI.1
RDO.1
SDI.1
SDO.1
GI.1
GO.1
SI.0
SO.0
WI.1
WO.1
WSI.1
D.1
K.1
R.1
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Discrete
Analog
Analog
Discrete
Discrete
Analog
Analog
Analog
Analog
Analog
Analog
Program Paused
Motion Held
Fault
At Perch
TP Enable
Battery Alarm
Busy
RSR/PNS 1 ACK/SNO
RSR/PNS 2 ACK/SNO
RSR/PNS 3 ACK/SNO
RSR/PNS 4 ACK/SNO
RSR/PNS 5 ACK/SNO
RSR/PNS 6 ACK/SNO
RSR/PNS 7 ACK/SNO
RSR/PNS 8 ACK/SNO
PNS Enable SNACK
Reserve
Robot Digital Input, RI(1)
Robot Digital Output, RO(1)
System Digital Input, DI(1)
System Digital Output, DO(1)
Group Input, GI(1)
Group Output, GO(1)
SOP Input, SI(0)
SOP Output, SO(0)
WI Register, WI(1)
WO Register, WO(1)
WSI Register, WSI(1)
D Register 1
K Register 1
R Register 1
Table 5.2: CNC Driver Tag List (FANUC Robot Data Table)
Tag Name Address
Type
Description
CPX_G1
CPY_G1
CPZ_G1
CPW_G1
CPP_G1
CPR_G1
CPJ1_G1
CPJ2_G1
CPJ3_G1
CPJ4_G1
CPJ5_G1
CPJ6_G1
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Current Position X_G1
Current Position Y_G1
Current Position Z_G1
Current Position W_G1
Current Position P_G1
Current Position R_G1
Current Position J1_G1
Current Position J2_G1
Current Position J3_G1
Current Position J4_G1
Current Position J5_G1
Current Position J6_G1
CurPos.1.X
CurPos.1.Y
CurPos.1.Z
CurPos.1.W
CurPos.1.P
CurPos.1.R
CurPos.1.J1
CurPos.1.J2
CurPos.1.J3
CurPos.1.J4
CurPos.1.J5
CurPos.1.J6
77
Advantech WebAccess/CNC User Manual
WebAccess/CNC Driver for FANUC Robot
UO04
UO05
UO06
UO07
UO08
UO09
UO10
UO11
UO12
UO13
UO14
UO15
UO16
UO17
UO18
UO19
UO20
RDI1
RDO1
SDI1
SDO1
GI1
GO1
SI0
SO0
WI1
WO1
WSI1
D1
K1
R1
Chapter 5
Table 5.1: CNC Driver Tag List (FANUC Robot I/O)
Table 5.2: CNC Driver Tag List (FANUC Robot Data Table)
UFX_11
UFY_11
UFZ_11
UFW_11
UFP_11
UFR_11
UFJ1_11
UFJ2_11
UFJ3_11
UFJ4_11
UFJ5_11
UFJ6_11
CurPosUF.1.1.X
CurPosUF.1.1.Y
CurPosUF.1.1.Z
CurPosUF.1.1.W
CurPosUF.1.1.P
CurPosUF.1.1.R
CurPosUF.1.1.J1
CurPosUF.1.1.J2
CurPosUF.1.1.J3
CurPosUF.1.1.J4
CurPosUF.1.1.J5
CurPosUF.1.1.J6
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
Analog
PRX_11
PosReg.1.1.X
Analog
PRY_11
PosReg.1.1.Y
Analog
PRZ_11
PosReg.1.1.Z
Analog
PRW_11
PosReg.1.1.W
Analog
PRP_11
PosReg.1.1.P
Analog
PRR_11
PosReg.1.1.R
Analog
PRJ1_11
PosReg.1.1.J1
Analog
PRJ2_11
PosReg.1.1.J2
Analog
PRJ3_11
PosReg.1.1.J3
Analog
PRJ4_11
PosReg.1.1.J4
Analog
PRJ5_11
PosReg.1.1.J5
Analog
PRJ6_11
PosReg.1.1.J6
Analog
CAID1
Alarm.Current.1.AlarmID
CANum1
CAMes1
CACID1
CACNo1
CACMe1
CASer1
Analog
(Array)
Analog
Alarm.Current.1.AlarmNumber
(Array)
Text
Alarm.Current.1.AlarmMessage
(Array)
Analog
Alarm.Current.1.CauseAlarmID
(Array)
Alarm.Current.1.CauseAlarm- Analog
Number
(Array)
Alarm.Current.1.CauseAlarm- Text
Message
(Array)
Analog
Alarm.Current.1.Severity
(Array)
Advantech WebAccess/CNC User Manual
78
User Frame X_G1_UF1
User Frame Y_G1_UF1
User Frame Z_G1_UF1
User Frame W_G1_UF1
User Frame P_G1_UF1
User Frame R_G1_UF1
User Frame J1_G1_UF1
User Frame J2_G1_UF1
User Frame J3_G1_UF1
User Frame J4_G1_UF1
User Frame J5_G1_UF1
User Frame J6_G1_UF1
Position Register Group1_Index1_X
Position Register Group1_Index1_Y
Position Register Group1_Index1_Z
Position Register Group1_Index1_W
Position Register Group1_Index1_P
Position Register Group1_Index1_R
Position Register Group1_Index1_J1
Position Register Group1_Index1_J2
Position Register Group1_Index1_J3
Position Register Group1_Index1_J4
Position Register Group1_Index1_J5
Position Register Group1_Index1_J6
Current Alarm1 ID
Current Alarm1 Number
Current Alarm1 Message
Current Alarm1 Cause Alarm ID
Current Alarm1 Cause Alarm
Number
Current Alarm1 Cause Alarm
Message
Current Alarm1 Severity
CASMe1
CAYea1
CAMon1
CADay1
CAMin1
CASec1
HAID1
HANum1
HAMes1
HACID1
HACNo1
HACMe1
HASer1
HASMe1
HAYea1
HAMon1
HADay1
HAHou1
HAMin1
HASec1
NUM_R1
SVI_FNo
SVI_TNo
Text
(Array)
Analog
Alarm.Current.1.Year
(Array)
Analog
Alarm.Current.1.Month
(Array)
Analog
Alarm.Current.1.Day
(Array)
Analog
Alarm.Current.1.Hour
(Array)
Analog
Alarm.Current.1.Minute
(Array)
Analog
Alarm.Current.1.Second
(Array)
Analog
Alarm.History.1.AlarmID
(Array)
Analog
Alarm.History.1.AlarmNumber
(Array)
Text
Alarm.History.1.AlarmMessage
(Array)
Analog
Alarm.History.1.CauseAlarmID
(Array)
Alarm.History.1.CauseAlarmAnalog
Number
(Array)
Alarm.History.1.CauseAlarmText
Message
(Array)
Analog
Alarm.History.1.Severity
(Array)
Alarm.History.1.SeverityMesText
sage
(Array)
Analog
Alarm.History.1.Year
(Array)
Analog
Alarm.History.1.Month
(Array)
Analog
Alarm.History.1.Day
(Array)
Analog
Alarm.History.1.Hour
(Array)
Alarm.History.1.Minute
Analog
(Array)
Alarm.History.1.Second
Analog
(Array)
NumReg.1
Analog
SysVar.Int.$MNUFRAMEAnalog
NUM[1]
SysVar.Int.$MNUTOOLNUM[1] Analog
SysVar.Int.$MCR.$GENOVERAnalog
RIDE
SysVar.Int.$SYSTEM_SVI_PowT
Analog
TIME[1].PWR_TOT
SVI_OV
79
Current Alarm1 Severity Message
Current Alarm1 Year
Current Alarm1 Month
Current Alarm1 Day
Current Alarm1 Hour
Current Alarm1 Minute
Current Alarm1 Second
History Alarm1 ID
History Alarm1 Number
History Alarm1 Message
History Alarm1 Cause Alarm ID
History Alarm1 Cause Alarm
Number
History Alarm1 Cause Alarm
Message
History Alarm1 Severity
History Alarm1 Severity Message
History Alarm1 Year
History Alarm1 Month
History Alarm1 Day
History Alarm1 Hour
History Alarm1 Minute
History Alarm1 Second
Number Register 1
System INT Variable_FrameNumber
System INT Variable_ToolNumber
System INT Variable_Override
System INT Variable_OnPowerTime
Advantech WebAccess/CNC User Manual
WebAccess/CNC Driver for FANUC Robot
CAHou1
Alarm.Current.1.SeverityMessage
Chapter 5
Table 5.2: CNC Driver Tag List (FANUC Robot Data Table)
Table 5.2: CNC Driver Tag List (FANUC Robot Data Table)
SysVar.Int.$SYSTEM_TIME[1].SRV_TOT
SysVar.Int.$SYSTEM_SVI_RunT
TIME[1].RUN_TOT
SysVar.Int.$SYSTEM_SVI_WaiT
TIME[1].WIT_TOT
SVI_FC
SysVar.Int.$FAST_CLOCK
SysSVF_G1PL Var.Float.$PLST_GRP1[1].$PA
YLOAD
SVI_SOnT
Analog
Analog
Analog
Analog
Analog
System INT Variable_ServoOnTime
System INT Variable_RunningTime
System INT Variable_WaitingTime
System INT Variable_FastClock
System FLOAT Variable_G1Payload
Task.Normal.1.LineNumber
Task.Normal.1.State
Task.Normal.1.ParentTNPP1
ProgName
TNProg1
Task.Normal.1.ProgName
STR_R1
String.13.1
CM_STR1 String.14.1
CM_NUM1 String.15.1
CM_POS1 String.16.1
CM_SDI1 String.17.1
Analog
Analog
Text
Text
Text
Text
Text
Text
System FLOAT Variable_Duty
Temperature
System STRING Variable_Version
Task 1 Normal Line Number
Task 1 Normal State
Task 1 Normal Parent Program
Name
Task 1 Normal Program Name
String Register 1
Comment of String Register 1
Comment of Number Register 1
Comment of Position Register 1
Comment of SDI 1
CM_SDO1
CM_RDI1
CM_RDO1
CM_UI1
CM_UO1
CM_SI1
CM_SO1
CM_WI1
CM_WO1
CM_WSI1
CM_GI1
CM_GO1
CM_AI1
CM_AO1
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Comment of SDO 1
Comment of RDI 1
Comment of RDO 1
Comment of UI 1
Comment of UO 1
Comment of SI 1
Comment of SO 1
Comment of WI 1
Comment of WO 1
Comment of WSI 1
Comment of GI 1
Comment of GO 1
Comment of AI 1
Comment of AO 1
SVF_DT
SysVar.Float.$DUTY_TEMP
Analog
SVS_Ver
SysVar.String.$VERSION
Text
TNLine1
TNS1
String.18.1
String.19.1
String.20.1
String.21.1
String.22.1
String.23.1
String.24.1
String.25.1
String.26.1
String.27.1
String.29.1
String.30.1
String.31.1
String.32.1
Advantech WebAccess/CNC User Manual
Text
80
Description
0x8001
0x8002
0x8003
0x8004
0x8005
0x8006
0x8008
0x8009
0x8B00
0x8C00
Illegal tag address
Can't call Fanuc Library
Connection failed
Invalid refresh object
Invalid item value
Failed while reading I/O
Failed when creating dispatch
Refresh object failed
The measured value is not initialized
Driver executable file is not executed
81
Advantech WebAccess/CNC User Manual
WebAccess/CNC Driver for FANUC Robot
Error Code
Chapter 5
Table 5.3: CNC Driver Error Code (FANUC Robot)
Advantech WebAccess/CNC User Manual
82
Appendix
A
A
Other Instructions
A.1 FANUC Alarm Message 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 “alarmMessage.ini” and copy it to the device folder in your SCADA project (ex: C:\WebAccess\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
84
Alarm List
Class Number
Description
(SW)
(PW)
(IO)
(PS)
(OT)
(OH)
(SV)
(SR)
(MC)
(SP)
(DS)
(IE)
(BG)
(SN)
?
(EX)
(PC)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
19
20~31
Parameter switch on
Power off parameter set
I/O error
Foreground P/S
Over travel, external data
Overheat alarm
Servo alarm
Data I/O error
Macro alarm
Spindle alarm
Other alarm (DS)
Alarm concerning malfunction prevention
Background P/S
Synchronized error
(reserved)
External alarm message
PMC error
(Not used)
A.2 User Password and User Access Level 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 system 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
85
Advantech WebAccess/CNC User Manual
Appendix A Other Instructions
Table A.1: FANUC Alarm Class List
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
86
Figure A.6 Calling the AddUser Object
Figure A.7 Adding a New Administrator Account
87
Advantech WebAccess/CNC User Manual
Appendix A Other Instructions
To change the user access level, you should add a new user named “WebAccess”
when using UaExpert to connect SIEMENS OPC UA machines, as follows:
Path: Root\Objects\Sinumerik\Methods\AddUser
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
88
Figure A.11 SIEMENS OPC UA Username/Password (CNC Device Settings)
89
Advantech WebAccess/CNC User Manual
Appendix A Other Instructions
Figure A.10 Giving Write Access to an Administrator Account
A.3 Supported CNC Functions List
Connection method
CNC controller
CNC Runtime
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
Connection method
CNC controller
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
CNC Driver
LNC
BROTHER
FANUC
MITSUBISHI
○
○
○
○
∆
○
○
○
○
∆
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
∆
○
○
○
○
○
NC explorer
○
○
∆
∆
∆
○
○
Advantech WebAccess/CNC User Manual
○
○
○
○
○
FTP
90
HAAS
○
○
○
○
∆
∆
○
CNC controller
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
CNC Driver
SYNTEC
FAGOR
○
○
∆
○
○
○
○
∆
∆
○
○
○
○
○
RODERS
OKUMA
SIEMENS
○
○
○
∆
○
∆
○
○
○
○
○
○
○
○
∆
∆
○
○
○
∆
∆
○
FTP
○: Supported function
∆: Partially supported function
Connection method
Robot controller
Coordinate
System variable
Operation Time
Information
Status
Alarm
PLC register
File Transfer
CNC Driver
FANUC
○
○
○
○
○
○
○
FTP
KUKA
○
○
○
○
○
○
FTP
91
Advantech WebAccess/CNC User Manual
Appendix A Other Instructions
Connection method
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 permission of the publisher.
All brand and product names are trademarks or registered trademarks of their
respective companies.
© Advantech Co., Ltd. 2021

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement