WebAccess/CNC User Manual V1 -...
Transcript of WebAccess/CNC User Manual V1 -...
Advantech WebAccess/CNC
- CNC Machine Monitoring Solution
WebAccess/CNC User Manual
V1.1
Advantech Co., Ltd.
4F, No. 108-3, MingChuan Road, Shing-Tien Dist.,
New Taipei City 23141, R.O.C.
Phone: 886-2-2218-4567 • Call Center: 0800-777-111
www.advantech.com
© 2000 - 2017
WebAccess/CNC User Manual
- 1 -
1.0 Advantech WebAccess/CNC
Advantech WebAccess/CNC is the core solution for network CNC devices. Based on the 100% web
based WebAccess/SCADA software structure, WebAccess/CNC provides major CNC networking
functions and provides the advantages of SCADA software to the CNC market. Through the
additional ability to monitor I/O devices, WebAccess/CNC brings the benefits of CNC information
management and status visualization. Users can browse the SCADA web pages through Internet
Explorer to monitor and capture real time CNC information and the production status. This
improves efficiency by analyzing device availability.
Advantech WebAccess/CNC is CNC networking software designed specifically for the machine tool
market. Through the integration of a large number of SCADA drivers, WebAccess/CNC supports the
majority of CNC, I/O and PLC devices to collect factory equipment information and develop the
industrial networking applications.
Functions and Features:
Functions
� CNC Overview:
Provides real time information of the connection status, operation mode, CNC status, alarm status
and availability
� CNC Information:
Provides the machine coordination information, operation information, G code and spindle
information.
� Availability:
Provides details of CNC availability inquiries to handle production efficiency
� CNC Alarm:
Provides historical alarms from CNC records that can be used as an important reference for the
maintenance of machines
� NC Program management:
Provides an upload and download function for NC files and the edit interface to program the NC
files
� Set parameters:
Provides a configuration interface to modify the coordinate compensation and tool compensation
parameters
� Servo Spin:
Provides real time monitoring of spindle loading to analyze tool wear or damage condition
� Maintenance:
Maintenance configuration interface provides basic preventive maintenance functions and
WebAccess/CNC User Manual
- 2 -
manufacturer contact information
� PLC Parameters:
PLC parameters provide the instant query interface to get the values of PLC registers. It can help
uses to define the requirement I/O status of CNC controllers.
Features
� Supports major CNC and I/O monitoring device functions
� Supports various protocols to connect common industrial devices and PLCs
� 100% web-based SCADA including HTML5 dashboard and cross operating system display
� Provides the full functionality of WebAccess professional version
� Available CNC connection numbers upgrade
� Provides details of the availability of CNC devices to handle the production efficiency
Specification:
Support CNC Controllers List
� FANUC: 0i-A/B/C/D/F, 16i, 18i, 21i, 31i, 32i (FOCAS function requirement)
� MITSUBISHI: M700 / M70, M800/M80 series
(Please install MITSUBISHI communication middleware EZSocket in advance. Please contact
your agency or Mitsubishi Electric to purchase the software license.)
� HEIDENHAIN: iTNC530 (DNC option requirement)
(The maximum connection of HEIDENHAIN is limited to 16 for each one WebAccess/CNC
runtime)
� SIEMENS: 840D, 828D (OPC/UA license requirement)
Multi-languages
� EN/TC/SC
SCADA Software
� Advantech WebAccess V8.2 Professional
Project Node\SCADA Node
� Operating System:
Windows 7 SP1 Professional
Windows 8.1 Professional
WebAccess/CNC User Manual
- 3 -
Windows Server 2008R2 or later
.NET Framework 3.5 for WebAccess/CNC runtime
.NET Framework 4.5 or later version
IIS 7.5
� Hardware:
Intel Atom or Celeron, Dual Core processors or higher recommended
4GB RAM minimum, more recommended
200GB or more free disk space
� USB Port:
USB port for License Hardkey on SCADA node
� Brower Resolution:
Designed for 1280*720 resolution to 1920*1080 resolution
� Brower support:
IE Explore 11 or later
Others only support dashboard function:
Chrome: Version 37 or later
Firefox: Version 31 or later
Safari: Version 7 or later
WebAccess/CNC User Manual
- 4 -
1.1 CNC Device Setting and CNC runtime
The CNC device setting of WebAccess/CNC is used to configure the CNC networking setting. The
user can add, delete or modify CNC device setting and also start WebAccess/CNC runtime by the
setting menu interface.
Starting CNC Device Setting:
� Open CNC Device Setting:Start → All Programs → WebAccess CNC→CNC Device Setting
� CNC Device Setting launch screen
Figure 1.1.1: CNC device setting screen
� Add, Modify & Delete Device page:The page is including connect option, CNC name, CNC type,
controller type, CNC IP, CNC port and data server setting.
WebAccess/CNC User Manual
- 5 -
Figure 1.1.2: Add device Page
Figure 1.1.3: Modify device Page
WebAccess/CNC User Manual
- 6 -
� Starting CNC Runtime method1:The user can start WebAccess/CNC runtime by the “Start
Runtime” button to enable the CNC runtime connection between the chosen CNC devices.
� Starting CNC Runtime method2:Start → All Programs → WebAccess CNC→ Start CNC Runtime
Figure 1.1.4: WebAccess CNC Runtime is enabled
Note:
� By clicking the right button on the WebAccess CNC Runtime icon of taskbar can “exit” the
runtime service.
� The CNC type “MITSUBISHI” & “MITSUBISHI_EZ” is effective when the user install the
Mitsubishi communication middleware “EZSocket” and get the installation license
simultaneously. User can get the Mitsubishi FCSB1224 software license from the Mitsubishi’s
agents.
WebAccess/CNC User Manual
- 7 -
Figure 1.1.5: Mitsubishi_EZ configuration Page
WebAccess/CNC User Manual
- 8 -
1.2 WebAccess/CNC Explorer
The WebAccess/CNC explorer includes four parts “WebAccess Setting”, “WebAccess CNC setting”,
“WebAccess CNC Search List” and “Device List”. WebAccess/CNC explorer provides the
configuration interface of the supported CNC connection parameters. Users also can adopt this
explorer tool to generate WebAccess/CNC project automatically.
Starting WebAccess/CNC Explorer:
� Open WebAccess/CNC Explorer:Start → All Programs → WebAccessCNC→ Explorer
� WebAccess/CNC Explorer launch screen
Figure 1.2.1: WebAccess/CNC explorer screen
� Project Selection: The user can set WebAccess Project Name and Node Name.
� PMC Search List: The IP and port is designed for the IP address and port number of the
WebAccess/CNC runtime. The default port number is 9701 and both the default connection
password and writing password are “pmc”.
� LNC Search List: User can set the IP address of the LNC controller manually or search the LNC
controller in the same network segment automatically.
� Start Searching: Start to search the CNC device from PMC setting and LNC setting.
� Device List: After searching the connected CNC devices, the user can submit the chosen CNC
devices to generate the WebAccess project automatically.
WebAccess/CNC User Manual
- 9 -
1.3 WebAccess/CNC Functions
The WebAccess/CNC project provides nine main CNC tool functions as
� Overview
� Information
� CNC Alarm
� Program
� Servo Spin
� Set Parameters
� Maintain
� Tools
� PLC Parameters
� Overview
There are four CNC conditions are shown as lamp status as
Green lamp status: Busy
Yellow lamp status: Idle
Red lamp status: Alarm
Grey lamp status: Disconnect
The other fields are defined as
Device Name: The CNC device name
Main Prog: Main program
Cur Prog: Current executing program
Cur Seq: Sequence of current executing program
Mode: MEM/MDI/JOG/MPG(RPF)/Single Step/Others
Status: START/Hold
Alarm: NORMAL/ALARM
EMG: NORMAL/EMG
P count: Part count
Avai(today): Today availability rate
Figure 1.3.1: WebAccess/CNC Overview
WebAccess/CNC User Manual
- 10 -
� Information
Data monitoring offers real time data from connected CNC devices, including CNC status,
coordinates, G-code, Non-G-code, part count, CNC operating time, actual feed rate and actual
spindle.
Figure 1.3.2: WebAccess/CNC information
� Availability: The query tool provides details of CNC availability inquiries to handle production
efficiency
Figure 1.3.3: WebAccess/CNC availability
WebAccess/CNC User Manual
- 11 -
� Alarm: Provides the historical alarms and operation records from CNC
Figure 1.3.4: WebAccess/CNC alarm
� Program: Provides an upload and download function for NC files and the edit interface to
program the NC files.
Figure 1.3.5: WebAccess/CNC program
The path of the memory folder can be set by the driver tag “MNcPath”. This tag default value is
empty string. Some examples are listed as:
FANUC: //CNC_MEM/USER/PATH1/
SIEMENS: /nckfs/_N_MPF_DIR
WebAccess/CNC User Manual
- 12 -
� Servo Spin: Provides real time monitoring of spindle loading to analyze tool wear or damage
condition.
Figure 1.3.6: WebAccess/CNC servo spin
� Set Parameters: Provides tool offset, work coordinates and macro variable read/write
functions.
Figure 1.3.7: WebAccess/CNC set parameters
WebAccess/CNC User Manual
- 13 -
� Maintain: WebAccess/CNC provides the basic maintain function. If the maintenance item does
not have value in “PLC node”, WebAccess/CNC runtime will detect whether CNC is power on or
not and calculate the use of time. Warnings will come up once the use of time is more than or
equal to the life time.
Figure 1.3.8: WebAccess/CNC maintain
� Tools: WebAccess/CNC provides the basic tool management function. The processing time is
measured when CNC is on the cycle start status. Warning will come up once the processing
time is more than or equal to the life time.
Figure 1.3.9: WebAccess/CNC tools
WebAccess/CNC User Manual
- 14 -
� PLC Parameters: WebAccess/CNC provides the PLC register query interface to get the I/O or
memory status. This function can help user to create tags to monitor the CNC machine I/O
status.
Figure 1.3.10: WebAccess/CNC PLC parameters
Note:
� The suitable display range of the WebAccess/CNC functions webpage is from 1280x720 to
1920x1080.
� The blue WebAccess title of the WebAccess/CNC functions webpage can be removed by setting
the video display parameter “mode” of the wacnc.drw as
uti:../WebAccessCNC/index.asp?goto=graph=main&mode=1&hwnd=%HWND&
Figure 1.3.11: WebAccess/CNC functions without WebAccess title
WebAccess/CNC User Manual
- 15 -
� The nine main CNC tool functions can be selected by the user besides the “overview” function.
The other eight functions can be modified by setting the video display parameter “menu” of
the wacnc.drw as
uti:../WebAccessCNC/index.asp?goto=graph=main&menu=224&hwnd=%HWND&
“menu” value 0 2 6 128 224 480
Information � � � � � �
Availability � � � � � �
CNC Alarm � � � � � �
Program � � � � � �
Servo Spin � � � � � �
Set Parameters � � � � � �
Maintain � � � � � �
Tools � � � � � �
PLC Parameters � � � � � �
Table 1.3.1: WebAccess/CNC menu parameter definition
Figure 1.3.12: WebAccess/CNC functions when setting “menu=224”
� Each CNC device’s information page can be accessed directly by setting the video display
parameters “device” and “comport” of the user’s drw file as
uti:../WebAccessCNC/index.asp?device=H1&comport=1&hwnd=%HWND&
WebAccess/CNC User Manual
- 16 -
Figure 1.3.13: Directly access the WebAccess/CNC device information page
� Each pages of the CNC device functions can be accessed directly by setting the video display
parameters “page” of the user’s drw file as
uti:../WebAccessCNC/index.asp?device=H1&comport=1&page=program&hwnd=%HWND&
Functions Page’s Name
Overview page=overview
Information page=info
Availability page=avail
CNC Alarm page=alarm
Program page=program
Servo Spin page=servo
Set Parameters page=parameter
Maintain page=maintain
Tools page=toolmanage
PLC Parameters page=plcparameter
Table 1.3.2: WebAccess/CNC page parameter definition
WebAccess/CNC User Manual
- 17 -
1.4 WebAccess/CNC Driver List
The definitions of WebAccess/CNC driver are listed as
Supported API List
API Description
SKY_conn_status_single Get CNC connection status
GET_information Get basic information of correlation
GET_information_heid Get basic information of correlation (HEIDENHAIN controller)
GET_status Get status information
GET_position Get coordinate Status
GET_gcode Get G Code
GET_othercode Get other Codes (H Code, D Code, T Code, M Code, B Code, F
Code, S Code)
GET_feed_spindle Get feed rate / Spindle speed
GET_time Get the time of CNC
GET_time_heid Get the time of CNC (HEIDENHAIN Controller)
GET_part_count Get the count of part
GET_part_total Get the total count of part
GET_part_required Get the required count of part
GET_alm_current2 Get current occurring alarm
GET_msg_current Get the message of operation
GET_alm_history2 Get history of alarms
GET_msg_history Get history of operation
GET_plc_alarm Get history of PLC alarm
GET_servo_current Get current loads of all spindles
GET_servo_load Get the percentage of servo load (%)
GET_servo_speed Get servo speed
GET_spindle_load Get the percentage of spindle load (%)
GET_spindle_speed Get spindle speed
GET_servo_temperature Get the temperature of servo motor
GET_spindle_temperature Get the temperature of spindle
GET_utilization_all_today Get today’s utilization rate data.
GET_utilization_single_all Get a single machine all utilization rate data
GET_nc_mem_list Get the NC list from machine (memory)
GET_nc_ftp_list Get NC list from FTP (Fanuc Data Server/MITSUBISHI CF card)
GET_nc_local_list (*) Get NC list from local storage
GET_nc_mem_code Get the content of NC from memory
WebAccess/CNC User Manual
- 18 -
GET_nc_mem_code_resume Get the content of NC from memory (Resume mode)
GET_nc_ftp_code Get the content of NC from FTP (Resume mode) (Fanuc Data
Server/MITSUBISHI CF card)
GET_nc_ftp_code_resume Get the content of NC from FTP (Resume mode) (Fanuc Data
Server)
GET_nc_pointer Get the pointer (line) of the current NC
GET_nc_current_block Get the current and next block of NC
UPLOAD_nc_mem Upload NC to memory
UPLOAD_nc_mem_resume Upload NC to memory (Resume mode)
UPLOAD_nc_ftp Upload NC to FTP (Resume mode) (Fanuc Data
Server/MITSUBISHI CF card)
UPLOAD_nc_ftp_resume Upload NC to FTP (Resume mode) (Fanuc Data Server)
DEL_nc_mem Delete NC from memory
DEL_nc_ftp Delete NC from FTP (Fanuc Data Server/MITSUBISHI CF card)
DEL_nc_local (*) Delete NC from local storage
SET_nc_main Set or assign NC to main program
GET_plc_ver Get the version information of PLC
GET_plc_addr2 Get the PLC address of start and end number
GET_plc_status2 Get the status of PLC
GET_offset_title Get the title of tool offset
GET_offset_all Get the Offset of all tools
SET_offset_single Write the Offset of a single tool
GET_macro_all Get all Macro (Common Variables) variables data
SET_macro_single Set single Macro (Common Variable) variable data
GET_TOOL_TABLE_SIEMENS Get SIEMENS tool tables
GET_TOOL_EDGE_PARAMETER_
SIEMENS
Get SIEMENS tool edge parameters
GET_maint_all Get maintenance management all data
GET_toolmanage_all2 Get all tool management data
(*): not SkyMars API
WebAccess/CNC User Manual
- 19 -
Driver Block Type List
Block Type Name Description
FANUC For FANUC controller
MIT For MITSUBISHI controller
HEID For HEIDENHAIN controller
SIEMENS For SIEMENS controller
Driver Tag List
Tag Name Address Type Description
MachName Common;20001 Text Machine Name
MNcPath Common;20017 Text The NC files path in memory
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
DEL_nc_ftp
Supported CNC: FANUC, MITSUBISHI
DelFPgm DEL_nc_ftp;10009 Discrete The flag of deleting NC program from data
server (FTP) (0�1)
DelFName DEL_nc_ftp;20009 Text The Deleted FTP Server - NC Program Name
(Input)
DEL_nc_mem
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN
DelMPgm DEL_nc_mem;10008 Discrete The flag of deleting NC program from memory
(0�1)
DelMName DEL_nc_mem;20008 Text The Deleted Memory - NC Program Name
(Input)
DEL_nc_local
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN,
DelLPgm DEL_nc_mem;10010 Discrete The flag of deleting NC program from local disk
(0�1)
DelLName DEL_nc_mem;20010 Text The Deleted Local Disk - NC Program Name
(Input)
GET_alm_current2
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
AlmClass GET_alm_current2;0,
AlmData,1,AlmClass
Text
(Array)
Alarm Class
AlmCode GET_alm_current2;0, Text Alarm Code
WebAccess/CNC User Manual
- 20 -
AlmData,1,AlmCode (Array)
AlmMsg GET_alm_current2;0,
AlmData,1,AlmMsg
Text
(Array)
Alarm Message
IsAlarm GET_alm_current2;1,I
sAlarm
Discrete IsAlarm
GET_alm_history2
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
AlmClasH GET_alm_history2;0,A
lmHis,1,AlmClass
Text
(Array)
History Alarm Class
AlmCodeH GET_alm_history2;0,A
lmHis,1,AlmCode
Text
(Array)
History Alarm Code
AlmDateH GET_alm_history2;0,A
lmHis,1,AlmDate
Text
(Array)
History Alarm Date
AlmMsgH GET_alm_history2;0,A
lmHis,1,AlmMsg
Text
(Array)
History Alarm Message
GetHAlm GET_alm_history2;10
001
Discrete The flag of getting history alarm (0�1)
GET_feed_spindle
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
ActFeed GET_feed_spindle;1,A
ctFeed
Analog ActFeed
ActSpin GET_feed_spindle;1,A
ctSpindle
Analog ActSpindle
OvFeed GET_feed_spindle;1,O
vFeed
Analog OvFeed
OvSpin GET_feed_spindle;1,O
vSpindle
Analog OvSpindle
GET_gcode
Supported CNC: FANUC, MITSUBISHI, SIEMENS
GCode GET_gcode;0,gcode,1,
Gdata
Text
(Array)
G Code
GET_information
Supported CNC: FANUC, MITSUBISHI, SIEMENS
Axes GET_information;1,Ax
es
Analog Axes
CncType GET_information;1,Cn
cType
Text ex :'18' : Series 180/180i
WebAccess/CNC User Manual
- 21 -
MaxAxes GET_information;1,M
axAxes
Analog MaxAxes
NcVer GET_information;1,Nc
_Ver
Text NC version
Series GET_information;1,Se
ries
Text M/T type
GET_information_heid
Supported CNC: HEIDENHAIN
Axes_H GET_information_hei
d;1,Axes
Analog Axes (HEIDENHAIN)
FCL_H GET_information_hei
d;1,FCL
Text FCL (HEIDENHAIN)
Model_H GET_information_hei
d;1,Model
Text Model (HEIDENHAIN)
NcVer_H GET_information_hei
d;1,Nc_Ver
Text NC version (HEIDENHAIN)
PlcVer_H GET_information_hei
d;1,Plc_Ver
Text PLC Version (HEIDENHAIN)
GET_msg_current
Supported CNC: FANUC
IsMsg GET_msg_current;1,Is
Msg
Discrete IsMsg
MsgCode GET_msg_current;1,M
sgCode
Text Operation Message Code
MsgText GET_msg_current;1,M
sgText
Text Operation Message Text
GET_msg_history
Supported CNC: FANUC
MsgCodeH GET_msg_history;0,M
sgHis,1,MsgCode
Text
(Array)
History Operation Message Code
MsgDateH GET_msg_history;0,M
sgHis,1,MsgDate
Text
(Array)
History Operation Message Date
MsgTextH GET_msg_history;0,M
sgHis,1,MsgText
Text
(Array)
History Operation Message Text
GetHMsg GET_msg_history;100
02
Discrete The flag of getting history operation message
(0�1)
GET_nc_current_block
WebAccess/CNC User Manual
- 22 -
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN
CurNcBlk GET_nc_current_bloc
k;0,NcBlock,1,Block
Text
(Array)
Currently Under Running and Future Single
Program to be Executed
GET_nc_ftp_code
Supported CNC: MITSUBISHI
GetFPgm GET_nc_ftp_code;100
05
Discrete The flag of getting NC program from data server
(FTP) (0�1)
FQNc GET_nc_ftp_code;200
05
Text FTP Data Server -NC Program Name (Input)
GET_nc_ftp_code_resume
Supported CNC: FANUC
GetFPgmR GET_nc_ftp_code_res
ume;10005
Discrete The flag of getting NC program from data server
(FTP) (0�1)
FQNcNameF
QNcR
GET_nc_ftp_code_res
ume;20005
Text FTP Data Server -NC Program Name (Input)
GET_nc_ftp_list
Supported CNC: FANUC, MITSUBISHI, SIEMENS
FNcTime GET_nc_ftp_list;0,NcLi
st,1,DateTime
Text
(Array)
FTP Data Server - NC Program Modification
Date
FNcFD GET_nc_ftp_list;0,NcLi
st,1,FD
Text
(Array)
FTP Data Server - NC Program File Type (file /
directory)
FNcName GET_nc_ftp_list;0,NcLi
st,1,NcName
Text
(Array)
FTP Data Server - NC Program Name
FNcSize GET_nc_ftp_list;0,NcLi
st,1,Size
Analog
(Array)
FTP Data Server NC Size (Byte)
GetFList GET_nc_ftp_list;1001
9
Discrete The flag of getting NC program list from data
server (FTP) (0�1)
GET_nc_local_list
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
LNcTime GET_nc_local_list;0,N
cList,1,DateTime
Text
(Array)
Local PC - NC Program Modification Date
LNcName GET_nc_local_list;0,N
cList,1,NcName
Text
(Array)
Local PC - NC Program Name
LNcSize GET_nc_local_list;0,N
cList,1,Size
Analog
(Array)
Local PC NC Size (Byte)
GetLList GET_nc_local_list;100
17
Discrete The flag of getting NC program list from local
disk (0�1)
WebAccess/CNC User Manual
- 23 -
GET_nc_mem_code
Supported CNC: MITSUBISHI, HEIDENHAIN
GetMPgm GET_nc_mem_code;1
0004
Discrete The flag of getting NC program from memory
(0�1)
MQNc GET_nc_mem_code;2
0004
Text The Internal Memory NC Program Name (Input)
GET_nc_mem_code_resume
Supported CNC: FANUC
GetMPgmR GET_nc_mem_code_r
esume;10004
Discrete The flag of getting NC program from memory
(0�1)
MQNcR GET_nc_mem_code_r
esume;20004
Text The Internal Memory NC Program Name (Input)
GET_nc_mem_list
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
MNcTime GET_nc_mem_list;0,N
cList,1,DateTime
Text
(Array)
Machine Memory - NC Program Modification
Date
MNcFD GET_nc_mem_list;0,N
cList,1,FD
Text
(Array)
Machine Memory - NC Program File Type (file /
directory)
MNcName GET_nc_mem_list;0,N
cList,1,NcName
Text
(Array)
Machine Memory - NC Program Name
MNcRmk GET_nc_mem_list;0,N
cList,1,Remark
Text
(Array)
Machine Memory - NC Program Remark
MNcSize GET_nc_mem_list;0,N
cList,1,Size
Analog
(Array)
Machine NC Size (Byte)
GetMList GET_nc_mem_list;100
18
Discrete The flag of getting NC program list from
memory (0�1)
GET_nc_pointer
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
CurNcPtr GET_nc_pointer;1,Blk
Pointer
Analog The Pointer of Current Program
GET_othercode
Supported CNC: FANUC, MITSUBISHI(only B code), HEIDENHAIN(only M, F, T, S code), SIEMENS
BCode GET_othercode;1,BCo
de
Analog B Code
DCode GET_othercode;1,DCo
de
Analog D Code
FCode GET_othercode;1,FCo Analog F Code
WebAccess/CNC User Manual
- 24 -
de
HCode GET_othercode;1,HCo
de
Analog H Code
MCode GET_othercode;1,MC
ode
Analog M Code
SCode GET_othercode;1,SCo
de
Analog S Code
TCode GET_othercode;1,TCo
de
Analog T Code
GET_part_count
Supported CNC: FANUC, MITSUBISHI, SIEMENS
PartCnt GET_part_count;1,Par
tCount
Analog Part Count
GET_part_required
Supported CNC: FANUC, SIEMENS
PartReq GET_part_required;1,
PartRequired
Analog Part Required
GET_part_total
Supported CNC: FANUC
ParTotal GET_part_total;1,Part
Total
Analog Part Total Count
GET_plc_alarm
Supported CNC: FANUC
PlcAlm GET_plc_alarm;0,PlcAl
m,1,AlmMsg
Text
(Array)
PLC Alarm Message
GET_plc_ver
Supported CNC: FANUC, MITSUBISHI
PlcDate GET_plc_ver;1,Date Text PLC Version Date
PlcDesig GET_plc_ver;1,Design
ed
Text PLC Version Designer
PlcVer GET_plc_ver;1,Version Text PLC Version
GET_position
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
AbsPos GET_position;0,PosDa
ta,1,Abs
Analog
(Array)
The Absolute Coordinate of Axes
AxisName GET_position;0,PosDa
ta,1,AxisName
Text
(Array)
The Name of Axes
WebAccess/CNC User Manual
- 25 -
RemDist GET_position;0,PosDa
ta,1,Dist
Analog
(Array)
The Remaining Distance of Axes
MachPos GET_position;0,PosDa
ta,1,Mach
Analog
(Array)
The Machine Coordinate of Axes
RelPos GET_position;0,PosDa
ta,1,Rel
Analog
(Array)
The Relative Coordinate of Axes
AxisUnit GET_position;0,PosDa
ta,1,Unit
Text
(Array)
The Unit of Axes
GET_servo_current
Supported CNC: FANUC
ServCurr GET_servo_current;0,
AxisCurrent,1,Current
Analog
(Array)
Load Current Value of Each Axis
GET_servo_load
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
SerLd01 GET_servo_load;1,Ser
voLoadPercent,1,Load
Analog
Load Values For Each Axis (%)
SerLd02 GET_servo_load;2,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd03 GET_servo_load;3,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd04 GET_servo_load;4,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd05 GET_servo_load;5,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd06 GET_servo_load;6,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd07 GET_servo_load;7,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd08 GET_servo_load;8,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd09 GET_servo_load;9,Ser
voLoadPercent,1,Load
Analog Load Values For Each Axis (%)
SerLd10 GET_servo_load;10,Se
rvoLoadPercent,1,Loa
d
Analog Load Values For Each Axis (%)
SerLd11 GET_servo_load;11,Se
rvoLoadPercent,1,Loa
Analog Load Values For Each Axis (%)
WebAccess/CNC User Manual
- 26 -
d
SerLd12 GET_servo_load;12,Se
rvoLoadPercent,1,Loa
d
Analog Load Values For Each Axis (%)
GET_servo_speed
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
ServSped GET_servo_speed;0,S
ervoLoadPercent,1,Sp
eed
Analog
(Array)
Servo Shaft Speed
GET_servo_temperature
Supported CNC: FANUC, HEIDENHAIN, SIEMENS
ServTemp GET_servo_temperatu
re;0,Temperature,1,Ax
isTemp
Analog
(Array)
Servo Motor Temperature
GET_spindle_load
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
SpinLoad GET_spindle_load;1,L
oad
Analog Spindle Load (%)
GET_spindle_speed, SIEMENS
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN
SpinSped GET_spindle_speed;1,
Speed
Analog Spindle Speed
GET_spindle_temperature
Supported CNC: FANUC, HEIDENHAIN,
SpinTmp1 GET_spindle_tempera
ture;1,Spindle_1_Tem
p
Analog 1st Spindle Temperature
SpinTmp2 GET_spindle_tempera
ture;1,Spindle_2_Tem
p
Analog 2rd Spindle Temperature
GET_status
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Alarm GET_status;1,Alarm Text Alarm
NcStatus GET_status;1,CncStat
us
Text CNC Status. ex:"STOP", "START"...
CurPgm GET_status;1,CurProg Text Current Program
CurSeq GET_status;1,CurSeq Analog The Sequence of Current Program
WebAccess/CNC User Manual
- 27 -
Emg GET_status;1,Emg Text EMG
MainPgm GET_status;1,MainPro
g
Text Main Program
Mode GET_status;1,Mode Text ex:"MDI", "MEM"...
GET_time
Supported CNC: FANUC, MITSUBISHI, SIEMENS
CutHour GET_time;1,Cutting,1,
Hour
Analog Cutting Hour
CutMin GET_time;1,Cutting,1,
Minuite
Analog Cutting Minute
CutSec GET_time;1,Cutting,1,
Second
Analog Cutting Second
CycHour GET_time;1,Cycle,1,H
our
Analog Cycle Hour
CycMin GET_time;1,Cycle,1,M
inuite
Analog Cycle Minute
CycSec GET_time;1,Cycle,1,Se
cond
Analog Cycle Second
OperHour GET_time;1,Operation
,1,Hour
Analog Operation Hour
OperMin GET_time;1,Operation
,1,Minuite
Analog Operation Minute
OperSec GET_time;1,Operation
,1,Second
Analog Operation Second
PowHour GET_time;1,Power,1,H
our
Analog Power Hour
PowMin GET_time;1,Power,1,
Minuite
Analog Power Minute
PowSec GET_time;1,Power,1,S
econd
Analog Power Second
GET_time_heid
Supported CNC: HEIDENHAIN
RunHour_H GET_time_heid;1,Mac
hineRunning,1,Hour
Analog Machine Run Hour (HEIDENHAIN)
RunMin_H GET_time_heid;1,Mac
hineRunning,1,Minuit
e
Analog Machine Run Minute (HEIDENHAIN)
WebAccess/CNC User Manual
- 28 -
UpHour_H GET_time_heid;1,Mac
hineUp,1,Hour
Analog Machine Up Hour (HEIDENHAIN)
UpMin_H GET_time_heid;1,Mac
hineUp,1,Minuite
Analog Machine Up Minute (HEIDENHAIN)
NUpHour_H GET_time_heid;1,NcU
p,1,Hour
Analog NC Up Hour (HEIDENHAIN)
NUpMin_H GET_time_heid;1,NcU
p,1,Minuite
Analog NC Up Minute (HEIDENHAIN)
SRunHour_H GET_time_heid;1,Spin
dleRunning,1,Hour
Analog Spindle Running Hour (HEIDENHAIN)
SRunMin_H GET_time_heid;1,Spin
dleRunning,1,Minuite
Analog Spindle Running Minute (HEIDENHAIN)
GET_utilization_all_today
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
UtiAAlm GET_utilization_all_to
day;0,Util,1,AlarmTota
l
Analog Today Machine Availability - Total Abnormal
Time(Hour)
UtiABusy GET_utilization_all_to
day;0,Util,1,BusyTotal
Analog Today Machine Availability - Total Busy
Time(Hour)
UtiACyc GET_utilization_all_to
day;0,Util,1,CycleTotal
Analog Today Machine Availability - Total Number of
Processing Cycles
UtiAIdle GET_utilization_all_to
day;0,Util,1,IdleTotal
Analog Today Machine Availability - Total Idle
Time(Hour)
UtiAOff GET_utilization_all_to
day;0,Util,1,OffTotal
Analog Today Machine Availability - Total Off
Time(Hour)
UtiAPTCnt GET_utilization_all_to
day;0,Util,1,PartTotal
Analog Today Machine Availability - Total Number of
Workpieces
GET_utilization_single_all
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
UtiAlmM GET_utilization_single
_all;0,UtilList,1,Alarm
Text
(Array)
Single Machine Availability - Alarm Number and
Information
UtiETime GET_utilization_single
_all;0,UtilList,1,EndDa
teTime
Text
(Array)
Single Machine Availability - End Time
UtiNcPgm GET_utilization_single
_all;0,UtilList,1,NcNa
me
Text
(Array)
Single Machine Availability - NC Program Name
WebAccess/CNC User Manual
- 29 -
UtiPCnt GET_utilization_single
_all;0,UtilList,1,PartCo
unt
Analog
(Array)
Single Machine Availability - Number of
Workpieces
UtiStatu GET_utilization_single
_all;0,UtilList,1,Status
Text
(Array)
Single Machine Availability - Status (OFF、IDLE、
ALARM、BUSY)
UtiSTime GET_utilization_single
_all;0,UtilList,1,StDate
Time
Text
(Array)
Single Machine Availability - Start Time
UtiTTime GET_utilization_single
_all;0,UtilList,1,TotalTi
me
Analog
(Array)
Single Machine Availability - Total Time
UtiAlarm GET_utilization_single
_all;1,Util,1,AlarmTota
l
Analog
Today Machine Availability - Total Alarm
Time(Hour)
UtiBusy GET_utilization_single
_all;1,Util,1,BusyTotal
Analog
Single Machine Availability - Total Busy
Time(Hour)
UtiCycle GET_utilization_single
_all;1,Util,1,CycleTotal
Analog
Single Machine Availability - Total Number of
Processing Cycles
UtiIdle GET_utilization_single
_all;1,Util,1,IdleTotal
Analog
Single Machine Availability - Total Idle
Time(Hour)
UtiOff GET_utilization_single
_all;1,Util,1,OffTotal
Analog
Single Machine Availability - Total Off
Time(Hour)
UtiPTCnt GET_utilization_single
_all;1,Util,1,PartTotal
Analog
Single Machine Availability - Total Number of
Workpieces
GetUtiS GET_utilization_single
_all;10003
Discrete The flag of get utilization single all (0�1)
UtiQST GET_utilization_single
_all;20002
Text Single Machine Availability - Query Start Time,
format is “YYYY-MM-dd HH:mm:ss” (Input)
UtiQET GET_utilization_single
_all;20003
Text Single Machine Availability - Query End Time,
format is “YYYY-MM-dd HH:mm:ss” (Input)
SET_nc_main
Supported CNC: FANUC
SetMain SET_nc_main;10011 Discrete The flag of set main program (0�1)
SetMainN SET_nc_main;20011 Text The setting NC Program Name as The Main
Program (Input)
SKY_conn_status_single
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
WebAccess/CNC User Manual
- 30 -
Status SKY_conn_status_sing
le;1,SKY_conn_status_
single,1,Status
Discrete Connection status
UPLOAD_nc_ftp
Supported CNC: MITSUBISHI
UpFPgm UPLOAD_nc_ftp;1000
7
Discrete The flag of upload NcCode to data server (FTP)
(0�1)
UpFNc UPLOAD_nc_ftp;2000
7
Text The FTP Server Upload NC Program Name
(Input)
UPLOAD_nc_ftp_resume
Supported CNC: FANUC
UpFPgmR UPLOAD_nc_ftp_resu
me;10007
Discrete The flag of upload NcCode to data server (FTP)
(0�1)
UpFNcR UPLOAD_nc_ftp_resu
me;20007
Text The FTP Server Upload NC Program Name
(Input)
UPLOAD_nc_mem
Supported CNC: MITSUBISHI, HEIDENHAIN
UpMPgm UPLOAD_nc_mem;10
006
Discrete The flag of upload NcCode to memory (0�1)
UpMNc UPLOAD_nc_mem;20
006
Text The Memory Upload NC Program Name (Input)
UPLOAD_nc_mem_resume
Supported CNC: FANUC
UpMPgmR UPLOAD_nc_mem_re
sume;10006
Discrete The flag of upload NcCode to memory (0�1)
UpMNcR UPLOAD_nc_mem_re
sume;20006
Text The Memory Upload NC Program Name (Input)
GET_offset_title
Supported CNC: FANUC, MITSUBISHI
OffTitle GET_offset_title;0,Off
set,1,Title
Text The title of tool offset
GetOTitle GET_offset_title;1001
2
Discrete The flag of getting tool offset's title (0�1)
GET_offset_all
Supported CNC: FANUC, MITSUBISHI
Offset01 GET_offset_all;0,Offse
t,1,C0
Analog
(Array)
The value of tool offset (column 1)
WebAccess/CNC User Manual
- 31 -
Offset02 GET_offset_all;0,Offse
t,1,C1
Analog
(Array)
The value of tool offset (column 2)
Offset03 GET_offset_all;0,Offse
t,1,C2
Analog
(Array)
The value of tool offset (column 3)
Offset04 GET_offset_all;0,Offse
t,1,C3
Analog
(Array)
The value of tool offset (column 4)
GetOData GET_offset_all;10013 Discrete The flag of getting all tool offset data (0�1)
SET_offset_single
Supported CNC: FANUC, MITSUBISHI
SetONum SET_offset_single;200
12
Analog The number of setting offset data (Input)
SetOVal SET_offset_single;200
13
Analog The values of setting offset data (Input)
SetOData SET_offset_single;100
14
Discrete The flag of setting offset data (0�1)
GET_macro_all
Supported CNC: FANUC, MITSUBISHI,SIEMENS
MacNum GET_macro_all;0,Mac
ro,1,MacroNumber
Analog
(Array)
The number of macro
MacData GET_macro_all;0,Mac
ro,1,MacroData
Analog
(Array)
The data of macro
GetMacro GET_macro_all;10015 Discrete The flag of getting all macro data (0�1)
SET_macro_single
Supported CNC: FANUC, MITSUBISHI
SetMacNo SET_macro_single;200
14
Analog The number of setting macro data (Input)
SetMacro SET_macro_single;200
15
Analog The value of setting macro data (Input)
SetMData SET_macro_single;100
16
Discrete The flag of setting macro data (0�1)
GET_tool_table_siemens
Supported CNC: SIEMENS
ToolMemNo GET_tool_table_siem
ens;0,ToolData;1;Tool
MemeryNO
Analog
(Array)
The number of tool in memory (SIEMENS)
ToolPlace GET_tool_table_siem
ens;0,ToolData;1;Tool
Analog
(Array)
The number of tool in memory (SIEMENS)
WebAccess/CNC User Manual
- 32 -
Place
ToolName GET_tool_table_siem
ens;0,ToolData;1,Tool
Name
Text
(Array)
The name of tool in memory (SIEMENS)
EdgeCnt GET_tool_table_siem
ens;0,ToolData;1,Edge
Count
Analog
(Array)
The edge count of tool (SIEMENS)
GetTool GET_tool_table_siem
ens;10020
Discrete The flag of getting tool data (SIEMENS) (0�1)
GET_tool_edge_parameter_siemens
Supported CNC: SIEMENS
Edge1PNo GET_tool_edge_para
meter_siemens;1,Edg
eData,0,ParmaData,1,
ParamNO
Analog
(Array)
The parameter number of first tool edge
(SIEMENS)
Edge2PNo GET_tool_edge_para
meter_siemens;2,Edg
eData,0,ParmaData,1,
ParamNO
Analog
(Array)
The parameter number of second tool edge
(SIEMENS)
Edge3PNo GET_tool_edge_para
meter_siemens;3,Edg
eData,0,ParmaData,1,
ParamNO
Analog
(Array)
The parameter number of third tool edge
(SIEMENS)
ToolQMNo GET_tool_edge_para
meter_siemens;20016
Analog The number of tool in memory (SIEMENS)
(Input)
GetTEP GET_tool_edge_para
meter_siemens;10021
Discrete The flag of getting tool edge parameters
(SIEMENS)
GET_plc_status2
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN
PlcType GET_plc_status2;1,Plc
Status,1,PlcType;M,N
(M: address, N: PLC
number)
Discrete
(0:byte
1:short
2:int
3:bool
4:double
5:string
6:sbyte)
The type of PLC status data
Address:
FANUC:
G, F, Y, X, A, R, T, K, C, D, E
MITSUBISHI:
X, Y, M, F, L, SM, D, R, W, B, SB,V, SW, SD
HEIDENHAIN:
M, B, W, D, I, O, T, C, S, IB, IW, ID, OB,OW, OD
WebAccess/CNC User Manual
- 33 -
PlcData GET_plc_status2;1,Plc
Status,1,PlcDataStr;M,
N (M: address, N: PLC
number)
Analog
(default)
The data of PLC status data
PlcDataStr: PLC data(text) for all type including
Byte, Short, Int, Bool, Double, String, Sbyte
GET_maint_all
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Reserved
(ItemName)
GET_maint_all;0,Main
tData,1,ItemTime
Text
(Array)
Get maintenance management data for
ItemName
Reserved
(UseTime)
GET_maint_all;0,Main
tData,1,UseTime
Analog
(Array)
Get maintenance management data for
UseTime
Reserved
(LifeTime)
GET_maint_all;0,Main
tData,1, LifeTime
Text
(Array)
Get maintenance management data for
LifeTime
Reserved
(PlcNode)
GET_maint_all;0,Main
tData,1, PlcNode
Text
(Array)
Get maintenance management data for
PlcNode
Reserved
(Spec)
GET_maint_all;0,Main
tData,1, Spec
Text
(Array)
Get maintenance management data for Spec
Reserved
(Supplier)
GET_maint_all;0,Main
tData,1, Supplier
Text
(Array)
Get maintenance management data for
Supplier
Reserved
(Contact)
GET_maint_all;0,Main
tData,1, Contact
Text
(Array)
Get maintenance management data for Contact
Reserved
(Telephone)
GET_maint_all;0,Main
tData,1, Telephone
Text
(Array)
Get maintenance management data for
Telephone
GET_toolmanage_all2
Supported CNC: FANUC, MITSUBISHI, HEIDENHAIN, SIEMENS
Reserved
(ToolNo)
GET_toolmanage_all2
;0,ToolData,1,ToolNo
Analog
(Array)
Get tool management data for ToolNo
Reserved
(ToolType)
GET_toolmanage_all2
;0,ToolData,1,ToolType
Text
(Array)
Get tool management data for ToolType
Reserved
(CycleTime)
GET_toolmanage_all2
;0,ToolData,1,
CycleTime
Analog
(Array)
Get tool management data for CycleTime
Reserved
(LifeTime)
GET_toolmanage_all2
;0,ToolData,1,LifeTime
Analog
(Array)
Get tool management data for LifeTime
Reserved
(PartCount)
GET_toolmanage_all2
;0,ToolData,1,
PartCount
Analog
(Array)
Get tool management data for PartCount
Reserved GET_toolmanage_all2 Analog Get tool management data for LifePartCount
WebAccess/CNC User Manual
- 34 -
(LifePartCou
nt)
;0,ToolData,1,LifePart
Count
(Array)
Reserved
(FeedRate)
GET_toolmanage_all2
;0,ToolData,1,FeedRat
e
Analog
(Array)
Get tool management data for FeedRate
Reserved
(SpindleSpee
d)
GET_toolmanage_all2
;0,ToolData,1,SpindleS
peed
Analog
(Array)
Get tool management data for SpindleSpeed
Reserved
(WorkMateri
al)
GET_toolmanage_all2
;0,ToolData,1,WorkMa
terial
Text
(Array)
Get tool management data for WorkMaterial
Reserved
(ToolMaterial
)
GET_toolmanage_all2
;0,ToolData,1,ToolMat
erial
Text
(Array)
Get tool management data for ToolMaterial
Reserved
(Diameter)
GET_toolmanage_all2
;0,ToolData,1,Diamete
r
Analog
(Array)
Get tool management data for Diameter
Reserved
(ToolLength)
GET_toolmanage_all2
;0,ToolData,1,ToolLeng
th
Analog
(Array)
Get tool management data for ToolLength
Reserved
(Supplier)
GET_toolmanage_all2
;0,ToolData,1,Supplier
Text
(Array)
Get tool management data for Supplier
Reserved
(Contact)
GET_toolmanage_all2
;0,ToolData,1,Contact
Text
(Array)
Get tool management data for Contact
Reserved
(Telephone)
GET_toolmanage_all2
;0,ToolData,1,Telepho
ne
Text
(Array)
Get tool management data for Telephone
WebAccess/CNC User Manual
- 35 -
1.5 FANUC Alarm Message of WebAccess/CNC
The default alarm message of WebAccess/CNC for FANUC series is set in English description. Use
can copy the build-in EN/TC/SC alarm message files (initial path of these alarm messages is at
C:\WebAccess\Node\WebAccessCNC\message) and change the file name “alarmMessage.ini” to
replace the original one in the user’s project to take effect. The user also can modify the alarm
message contents to fit the CNC special applications and the user needs to save the individual files.
Figure 1.5.1: Built-in EN/TC/SC alarm message files for FANUC
Figure 1.5.2: The original alarm message file of the user’s project
WebAccess/CNC User Manual
- 36 -
FANUC Alarm Class List
Alarm List Class Number Description
(SW) 0 Parameter switch on
(PW) 1 Power off parameter set
(IO) 2 I/O error
(PS) 3 Foreground P/S
(OT) 4 Overtravel, External data
(OH) 5 Overheat alarm
(SV) 6 Servo alarm
(SR) 7 Data I/O error
(MC) 8 Macro alarm
(SP) 9 Spindle alarm
(DS) 10 Other alarm(DS)
(IE) 11 Alarm concerning Malfunction prevent functions
(BG) 12 Background P/S
(SN) 13 Synchronized error
14 (reserved)
(EX) 15 External alarm message
(PC) 19 PMC error
20 to 31 (Not used)
Table 1.5.1: FANUC Alarm Class List
WebAccess/CNC User Manual
- 37 -
1.6 User Password and User Access Level of SIEMENS OPC/UA
The user can use the OPC/UA client software as UaExpert to modify the user password and user
access level of SIEMENS OPC/UA. First, the user should give the password to the admin user (default
is “OpcUaClient”) and active OPC/UA in the SIEMENS OPC/UA configuration dialog as
Figure 1.6.1: SIEMENS OPC/UA configuration dialog
When using the UaExpert to connect SIEMENS OPC/UA, the user can change the password of the
admin user (default is “OpcUaClient”) as
Path: Root\Objects\Sinumerik\Methods\ChangeMyPassword
Figure 1.6.2: Call object of the ChangeMyPassword
WebAccess/CNC User Manual
- 38 -
Figure 1.6.3: Change the admin user password successfully
If you want to change the user access level, you should add the new user as “WebAccess” when
using the UaExpert to connect SIEMENS OPC/UA as
Path: Root\Objects\Sinumerik\Methods\AddUser
Figure 1.6.4: Call object of the AddUser
WebAccess/CNC User Manual
- 39 -
Figure 1.6.5: Add the new admin user “WebAccess” successfully
After adding the new user as “WebAccess”, you can modify the user access level to be readable and
writeable as
Path: Root\Objects\Sinumerik\Methods\GiveUserAccess
Figure 1.6.6: Call object of the ChangeMyPassword
WebAccess/CNC User Manual
- 40 -
Figure 1.6.7: Add the readable access of the admin user “WebAccess” successfully
Figure 1.6.8: Add the writeable access of the admin user “WebAccess” successfully
WebAccess/CNC User Manual
- 41 -
Figure 1.6.9: The SIEMENS OPC/UA user name and password in the CNC device setting