S5-95U, SINEC L2
5.3
Parameter Assignment Error Byte (PAFE)
The parameter assignment error byte (PAFE) indicates errors made when assigning parameters
for L2-SEND and L2-RECEIVE. Flag byte 255 is reserved as the parameter assignment error byte.
You can scan the PAFE in the control program and program the reactions to errors that occur.
Flag byte 255
Error codes
7
6
5
4
3
irrelevant bits
Figure 5-2. Structure of the PAFE Parameter Assignment Error Byte
Note
It is possible to overwrite PAFE in the STEP 5 program. We do not recommend that you
do if you want to keep programming clear. After call-up of L2-SEND or L2-RECEIVE,
PAFE may have been written to with error indications so you need to scan it in the STEP
5 program.
EWA 4NEB 812 6112-02
Integral Standard Function Blocks L2-SEND and L2-RECEIVE
2
1
0
0: - No parameter assignment error
1: - Parameter assignment error
0 - Irrelevant
1 - Irrelevant
2 - Area does not exist (DB does not exist / is not
permitted)
3 - Area is too small
4 - Overload, access to L2 interface is not possible
5 - Incorrect contents of status byte (user access to the
status byte is not permitted)
6 - Source or destination parameters not permitted for
L2-SEND/L2-RECEIVE
7 - Irrelevant
8 - Irrelevant
9 - Irrelevant
A - Irrelevant
B - Parameter assignment error (length incorrect)
C - Destination address = source address
D - Programmable controller is a passive station, job is
not possible
E - No parameters assigned for the job
F - Job number not permissible
5-5