Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
28-25
External Error (ERR)
The technical circuit monitors the run, travel distance and the connected peripheral
devices. Prerequisite is that you have switched on monitoring in the "Drive", "Axis"
and "Encoder" parameter screen forms.
An external fault is reported when the monitoring unit is triggered. External errors
can occur independent on the started operations. You must always clear external
errors with ERR_A = TRUE.
A set bit in the SFB parameter ERR (WORD) the external errors.
Monitoring Error code Bit in ERR-WORD
Zero pulse (zero mark)
W#16#0004 2
Travel distance
W#16#0800 11
Working range
W#16#1000 12
Actual value
W#16#2000 13
Target approach
W#16#4000 14
Target range
W#16#8000 15
System Error
A system error is indicated with BIE = FALSE. A system error is caused by errors
when reading/writing the instance DB or by a multiple call of the SFB.