Siemens SINUMERIK 840DE sl Commissioning Manual page 955

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

The R parameters are found under the identifier "/Channel/Parameter/R", which is eventually
mapped to "/Channel/Parameter/R[u1, 1]". If you want to access other parameters, you must
correspondingly extend the identifier, e.g. "/Channel/Parameter/R[u2, 56]".
Table 5-1
Examples of variable paths (NC access operations)
Variable path
/Channel/Parameter/R[u1,10]
/Channel/Parameter/R[u1,1,5]
/Channel/Parameter/R[u1,1,#5]
/Channel/GeometricAxis/name[u2,3]
/Channel/GeometricAxis/actToolBasePos[u1,3]
5.3.2
Variable paths for GUD access operations
GUD variables can be found in the OPC UA server under the "/Sinumerik/GUD" node.
The displayed GUD variables always represent only the first parameter (for GUD arrays) of
the first NC channel (for channel-dependent GUD variables). If you want to access a different
parameter of a GUD array or a different channel, you must extend the identifier accordingly
for the NC access.
GUD arrays are 1-indexed for access, and access is always one-dimensional. This means,
the index must be calculated for multi-dimensional arrays.
Example 1: One-dimensional array, NC-global GUD array
"UGUD.DEF" file
DEF NCK INT ARRAY[2]
M17
Access is performed as follows:
ARRAY[0] → /NC/_N_NC_GD3_ACX/ARRAY[1]
ARRAY[1] → /NC/_N_NC_GD3_ACX/ARRAY[2]
Example 2: Two-dimensional array, channel-dependent GUD array
"UGUD.DEF" file
DEF CHAN INT ABC[3,3]
M17
SINUMERIK Integrate for Engineering Access MyMachine / OPC UA
Configuration Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
R parameter 10 in channel 1
R parameter array
R parameters 1 to 5 in channel 1
Name of the 3rd axis in channel 2
Position of the 3rd axis in channel 1
Functionality
5.3 Variable access
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents