Method Description
GiveUserAccess Sets the specified access rights for a user. The rights below can be combined
in any combination.
Input Arguments:
User User name which is to given the rights
Realm The access rights to be set as a string.
If a user wants to set several rights,
they must be separated by a semico‐
lon.
Some possible realm strings are:
"StateRead" Status data - NC, channel, axis, read
access
"StateWrite" Status data - NC, channel, axis, write
access
"FrameRead" Zero offsets, read access
"FrameWrite" Zero offsets, write access
"SeaRead" Setting data, read access
"SeaWrite" Setting data, write access
"TeaRead" Machine data, read access
"TeaWrite" Machine data, write access
"ToolRead" Tool and magazine data, read access
"ToolWrite" Tool and magazine data, write access
"DriveRead" Drive data, read access
"DriveWrite" Drive data, write access
"GudRead" User data, read access
"GudWrite" User data, write access
"PlcRead" PLC, read access
"PlcWrite" PLC, write access
"RandomRead" Random (and ReadVar method), read
access
"RandomWrite" Random (and WriteVar method), write
access
"SinuReadAll" All of the read access operations men‐
tioned
"SinuWriteAll" All of the write access operations men‐
tioned
Example:
GiveUserAccess("MyUser", "GudRead; PlcWrite")
Sets the read access for user data for the "MyUser" user and sets the write
access for the PLC.
OPC UA Data Access - functional scope
4.1 User administration
SINUMERIK Integrate for Engineering Access MyMachine / OPC UA
24 Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3