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-13
Job Error (JOB_ERR = TRUE)
The output parameter JOB_ERROR is set TRUE if an error is detected. The
parameter JOB_STAT shows the cause of the error.
Event class
Error code
Explanation
W#16#4001 Axis not parameterized. Parameterize the "Positioning" submodule via HWConfig
W#16#4002 Job not possible because positioning is still in progress. Wait until WORKING = FALSE,
then repeat the job.
W#16#4004 Unknown job. Check the job ID and then repeat the job.
W#16#4101 For a linear axis the reference point coordinate must not be out of range of the working
range limits.
W#16#4102 For a linear axis the set reference point coordinate + actual remaining distance must be
greater than / equal to -5x10
8
.
W#16#4103 For a linear axis the set reference point coordinate + actual remaining distance must be
smaller than / equal to 5x10
8
.
W#16#4104 For a linear axis the set reference point coordinate + actual remaining difference to the
starting point must be greater than / equal to -5x10
8
.
W#16#4105 For a linear axis the set reference point coordinate + actual remaining difference to the
starting point must be smaller than / equal to -5x10
8
.
W#16#4106 For a rotary axis the reference point coordinate must not be lower than 0 and greater
than / equal to the rotary axis end.
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 position 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
while reading/writing the instance DB or by a multiple call of the SFB.