Examples of variable paths (PLC access operations)
Table 5-3 Examples of variable paths (PLC access operations)
Variable path Description
/Plc/M5.0 Memory bit 0 at byte offset 5
/Plc/DB5.DBW2 Word (16-bit) at byte offset 2 in data block 5
/Plc/DB8.DBB2:STRING UTF8 string beginning at byte offset 2 in data block 8
/Plc/DB8.DBW2:[10] Array of 10 words beginning at byte offset 2 in data block 8
/Plc/DB100.DBB1 Byte at byte offset 1 in data block 100
/Plc/DB2.DBD0:REAL[10] Array of 10 double words (32-bit) beginning at byte offset 0 in data block 2, which are
formatted as a floating-point number
Note
● Timers can only be read. A timer is active if it contains a value other than 0.
● If the data type CHAR or STRING is used in conjunction with a byte access, UTF8
characters are read, but if either data type is used in conjunction with a word access, UTF16
characters are read.
● Variables of the STRING type contain the maximum length in the first byte and the actual
length in the second byte. When strings are written, the actual length is adapted accordingly.
The maximum length is not changed.
● For the STRING data type in conjunction with a byte access (e.g. "/Plc/
DB99.DBB0:STRING"), the maximum string length is 255 characters. As a result of the
UTF8 formatting, for some characters (e.g. for the "µ"), two bytes are required so that the
maximum string length is correspondingly reduced.
● Only one-dimensional arrays are supported.
5.3.4 Variable paths for machine and setting data
The variable paths for machine and setting data are stored in the address space of the
SINUMERIK Operate OPC UA server under the nodes "/Sinumerik/TEA" and "/Sinumerik/
SEA". Pay attention to the correct upper-case and lower-case of the "nodeID". The respective
identifier of the "nodeID" provides information on the correct notation.
The displayed machine and setting variables always represent only the first parameter of the
corresponding data area (channel, axis).
Table 5-4 Examples of variable paths (machine and setting data)
Variable path Description
/NC/_N_CH_TEA_ACX/$MC_CHAN_NAME Channel name of channel 1
/NC/_N_CH_TEA_ACX/$MC_CHAN_NAME[u2] Channel name of channel 2
Machine data arrays are 1-indexed for access.
Functionality
5.3 Variable access
SINUMERIK Integrate for Engineering Access MyMachine / OPC UA
42 Configuration Manual, 12/2017, 6FC5397-1DP40-6BA1