P4: PLC for SINUMERIK 828D
14.6 Function interface
Access result
NC variables
DBB3001
Value
Drive-specific variables
If an error occurs while reading/writing a drive-specific variable (DB1200.DBX3000.1 == 1),
an error number is displayed in the access result which is based on the error numbers defined
in the PROFIdrive profile.
DBB3001
Value
Determining the meaning of the access result:
1. Calculate the error number of the PROFIdrive profile
<error number of the PROFIdrive profile> = access result - 20
2. Determine the meaning of the error number of the PROFIdrive profile
The error numbers of the PROFIdrive profile are described in:
References
Function Manual, SINAMICS S120 Drive Functions; Section "Communication" >
"Communication according to PROFIdrive" > "Acyclic communication" > "Structure of the
requests and responses" > Subsection "Error values in parameter responses"
Examples: Job status
Job without error
● DB1200.DBX3000.0 == 1 (variable valid) AND
● DB1200.DBX3000.1 == 0 (no error occurred)
Result:
● DB1200.DBB3001 == 0 (access result: "No error")
● DB1200.DBD3004 == <read value>
Job with error
● DB1200.DBX3000.0 == 0 (variable not valid) AND
● DB1200.DBX3000.1 == 1 (error occurred)
Result:
● DB1200.DBB3001: For possible error causes, see "Access result" above
1106
Meaning
0
No error
3
Access to object is not permitted
5
Invalid address
10
Object does not exist
Meaning
x
<error number of the PROFIdrive profile> + 20
or 36
H
D
or 36
.
H
D
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions