R5REQ
5--4
1070 072 196-101 (00.06) GB
5.2.2 Output Parameters
P4
Parameter Attribute Description
P4 W Error message
This is where basic status and error codes that are recognized by the
R5REQ during job allocation are entered:
D The low byte of P4 then contains the status or error code;
D The high byte contains a coded recommendation for a reaction hereto.
High Byte Low Byte
Code
[hex]
PLC Reaction Code
[hex]
Error Code
00 No error, correct ca ll 00 No error, correct ca ll
01 Repeat R5REQ call 01 The parameter P3 ABL (Job bit bar) is zero
02 Change PLC program 02 The declared data module is not available
03 Change protocol parameter 03 The declared data module is too short
04 The function module R5INIT must be executed
again
04 The declared byte offset is not valid
05 The function module R5REQ must be executed
again
06 The function module R5CON must be executed
again
06 Wrong memory management list, ZS version not
suitable
07 Reload protocol 07 The COM-E is not listed in the SK table
08 Wrong block address of COM-E
. Further error messages that are recognized by the R5REQ during the
start of the job are put into the first word of the corresponding job
block.
P5
Parameter Attribute Description
P5 W Result bit bar EBL
This is where the user is informed about whether errors have been recog-
nized during job allocation. Each result bit has been assigned a job. The as-
signment corresponds to the one of the P3 input parameter. A set result bit
indicates that the job which has been addressed with the same bit number in
P3 could not be allocated. In addition, a detailed error code is output in the
first word of the relevant job block.