Technical data
Programming 
  CPU 317T: Technology Functions 
5-14  A5E00251798-03 
5.7  Errors and warnings at the cam disk & measuring 
sensor & output cam technology DB 
Errors or warnings occurring at the technology object while the command is being 
executed are indicated at the technology DB. This also applies if inconsistent or 
illogical data were passed. 
Error indications defined at the technology DB for cam disks, measuring encoders 
and output cams: 
•  The ErrorID variable 
The ErrorID variable indicates the most recent error (ErrorID = 8xxx) or 
warning (ErrorID = 00xx) message of the technology object. 
The value of this variable is deleted by acknowledging it with MC_Reset 
(Restart = FALSE). 
•  The ErrorBuffer[0..2] variable 
The ErrorBuffer[0..2] variable array is used to store the first three errors or 
warnings (since the last acknowledgment). The first error is written to ARRAY 
element 1, the second to ARRAY element 2, etc. 
The value in this variable is deleted by acknowledging it with MC_Reset 
(Restart = FALSE). 
Acknowledging warnings 
Warnings at the (ErrorID = 00xx) technology DB may, but do not need to be 
acknowledged with MC_Reset. 
However, note the data volume in the ErrorBuffer[0..2] variable array. You can 
keep the ErrorBuffer[0..2] variable array clear for any incoming error messages by 
acknowledging the errors in due time. 
Acknowledging errors 
To acknowledge all errors, first eliminate their cause, and then acknowledge with 
MC_Reset (Restart = FALSE). The technology object can then be enabled again 
by means of the MC_Power technology function. 
!
Caution 
Several unacknowledged errors may cause the CPU to go into STOP. 










