User manual

6-5
Distributed I/O System DP/ASi Link
EWA 4NEB 710 6055-02b
Data record 2 reads the response of the last “WR_REC” write job.
You have to call a “RD_REC” read job by means of data record 2 after every
“WR_REC” write job for the response of the last “WR_REC” write job to be
read.
Table 6-5 Structure of data record 2: Read response
Byte
Contents
0 Data record number of last “WR_REC” job
1 Response of last “WR_REC” job
You can read out in byte 1 of data record 2 any error code that has been is-
sued.
If you read data record 2 without executing a write job beforehand, unde-
fined responses of the error codes may occur.
Table 6-6 Error codes in byte 1 of data record 2
Byte 1
Meaning Action
Hex. Dec.
00
H
000 No error –––
01
H
001 ASi slave not enabled –––
02
H
002 Source slave not present Input error; enter correct value
03
H
003 ASi slave with address 0 present –––
04
H
004 Destination slave already present –––
05
H
005 Source address cannot be deleted –––
06
H
006
Source address could not be programmed with
new address
–––
07
H
007
new address
08
H
008 Could not write new parameters Input error; enter correct value
09
H
009 No meaning –––
0A
H
010 No meaning –––
0B
H
011 Unknown job number Input error; enter correct value
0C
H
012 Unknown data record Input error; enter correct value
0D
H
013 Unknown ASi Manager OP code Input error; enter correct value
0E
H
014 Message too long or too short Correct number of bytes
0F
H
015 Automatic programming enabled Repeat job
10
H
016 Argument too large; source address = destination
address
Input error; enter correct argument
11
H
017 ASi master is in Offline mode, job is not possible Wait until the DP master is in Operating mode
12
H
018 Configuration in DP/ASi Link erroneous Check configuration
Data record 2
Error codes in data
record 2
DP/ASi Link to S7