menu

Introduction

The ToolScope can receive OPC variables through the utility program "ToolScope Connector", we a delivering. Depending on the Siemens control system, many different variables can be read out from this control system. The OPC variables to be read are defined in the file "ts_variables.ini". This site gives an overview over the most used OPC variables.  It should be remembered that the syntax shows only the pure variable. As an INI entry, the name and format must be added. However, this is not described on this page.

 

Measuring data

Syntax Parameter 1 Parameter 2 description example
/Channel/MachineAxis/measPos1[u<channel number>, <axis number>] number of the target channel starting with 1 number of the target axis starting with 1 Actual actual value for measuring system 1 /Channel/MachineAxis/measPos1[u1,1]
/Channel/MachineAxis/measPos2[u<channel number>, <axis number>] number of the target channel starting with 1 number of the target axis starting with 1 Actual actual value for measuring system 2 /Channel/MachineAxis/measPos2[u1,3]
/Channel/MachineAxis/aaVactM[u<channel number>, <axis number>] number of the target channel starting with 1 number of the target axis starting with 1 Axis speed in the machine coordinate system /Channel/MachineAxis/aaVactM[u1,1]
/Channel/MachineAxis/aaVactB[u<channel number>, <axis number>] number of the target channel starting with 1 number of the target axis starting with 1 Axis speed in the basic coordinate system /Channel/MachineAxis/aaVactB[u2,4]
/Channel/MachineAxis/aaTorque[u<channel number>, <axis number>] number of the target channel starting with 1 number of the target axis starting with 1 engine torque setpoint in Nm
(Only available with PROFIdrive drives)
(For power line only at 611D)
/Channel/MachineAxis/aaTorque[u1,1]
/DriveHsa/State/load[u<engine number>] number of the engine module starting with 1   Motor load (only for powerline) /DriveHsa/State/load[u5]
/Channel/Spindle/actSpeed[u<channel number>, <spindle index >] number of the target channel starting with 1 index of the target spindle starting with 1 Spindle speed actual value /Channel/Spindle/actSpeed[u1,4]
/DriveHsa/State/actualCurrent[u<engine number>] number of the engine module starting with 1   Smoothed current actual value of the motor (based on maximum current of the power section) /DriveHsa/State/actualCurrent[u7]
/Channel/Parameter/R[u<channel number>, <r-number>] number of the target channel starting with 1 target r-number starting with 1 R-Parameter (up to SW 3.2) /Channel/Parameter/R[u2,50]
/Channel/Parameter/rpa[u<channel number>, <r-number>] number of the target channel starting with 1 target r-number starting with 1 R-Parameter (from SW 3.3) /Channel/Parameter/rpa[u1,32]
/Channel/GeometricAxis/feedRateOvr[u<channel number>, <axis index>] number of the target channel starting with 1 number of the target axis starting with 1 Feed Override if the axis is a positioning axis.
Single axis overrides if the axis is an additional axis.
Multiplicative override component, which additionally affects programmed override factors specified by handwheel and via PLC.
/Channel/GeometricAxis/feedRateOvr[u1,1]
/Channel/MachineAxis/aaOvr[u<channel number>, <axis index>] number of the target channel starting with 1 number of the target axis starting with 1 Axial override for motion synchronous actions /Channel/MachineAxis/aaOvr[u1,1]

 

Process identification data

Syntax Parameter 1 description example
/Channel/State/progStatus[u<channel number>] number of the target channel starting with 1

Program state

 1 = interrupted,  2 = stopped,  3 = running,
 4 = waiting, 5 = canceled

Channel/State/progStatus[u1]
/Channel/ProgramInfo/progName[u<channel number>] number of the target channel starting with 1 Program name of the currently active program (returns a string) /Channel/ProgramInfo/progName[u1]
/Channel/ProgramInfo/blockNoStr[u<channel number>] number of the target channel starting with 1 Block number (returns a string) /Channel/ProgramInfo/blockNoStr[u1]
/Channel/State/actToolIdent[u<channel number>] number of the target channel starting with 1 Identifier of the active tool
(Needs tool management; returns a string)
/Channel/State/actToolIdent[u1]
/Channel/State/actTNumber[u<channel number>] number of the target channel starting with 1 Number of active tool (Needs tool management) /Channel/State/actTNumber[u1]

 

Alarm data

Syntax Parameter 1 description example
/Channel/State/chanAlarm[u<channel number>] number of the target channel starting with 1 Identification whether a NCK alarm is present.
0 = no alarm in this channel
1 = Alarm without stop
2 = Alarm with stop
/Channel/State/chanAlarm[u1]
/Nck/TopPrioAlarm/textIndex[<alarm lists index>] index of the target alarm ordered after priority Alarm number /Nck/TopPrioAlarm/textIndex[1]
Nck/TopPrioAlarm/alarmNo[<alarm lists index>] index of the target alarm ordered after priority

Order number of the alarm (how many alarms since control On)

0 = unknown alarm

Nck/TopPrioAlarm/alarmNo[2]
/Nck/TopPrioAlarm/fillText1[<alarm lists index>] index of the target alarm ordered after priority Parameter 1 of the alarm (eg "K1" for channel 1) /Nck/TopPrioAlarm/fillText1[1]
/Nck/TopPrioAlarm/fillText2[<alarm lists index>] index of the target alarm ordered after priority Parameter 2 of the alarm(eg "SN1012" for block N1012) /Nck/TopPrioAlarm/fillText2[1]
/Nck/TopPrioAlarm/fillText3[<alarm lists index>] index of the target alarm ordered after priority Parameter 3 of the alarm (eg "S T2 D" for syntax error text T2 D) /Nck/TopPrioAlarm/fillText3[1]
/Nck/TopPrioAlarm/fillText4[<alarm lists index>] index of the target alarm ordered after priority Parameter 4 of the alarm /Nck/TopPrioAlarm/fillText4[1]