Operating Modes; Structure Of Data Record 2: Read Response; Error Codes In Byte 1 Of Data Record - Siemens SIMATIC Distributed I/O System DP/ASi Link Manual

Table of Contents

Advertisement

Data record 2
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
Error codes in data
You can read out in byte 1 of data record 2 any error code that has been is-
record 2
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
Hex.
Dec.
00
000
No error
H
01
001
ASi slave not enabled
H
02
002
Source slave not present
H
03
003
ASi slave with address 0 present
H
04
004
Destination slave already present
H
05
005
Source address cannot be deleted
H
06
006
Source address could not be programmed with
H
new address
new address
07
007
H
08
008
Could not write new parameters
H
09
009
No meaning
H
0A
010
No meaning
H
0B
011
Unknown job number
H
0C
012
Unknown data record
H
0D
013
Unknown ASi Manager OP code
H
0E
014
Message too long or too short
H
0F
015
Automatic programming enabled
H
10
016
Argument too large; source address = destination
H
address
11
017
ASi master is in Offline mode, job is not possible
H
12
018
Configuration in DP/ASi Link erroneous
H
Distributed I/O System DP/ASi Link
EWA 4NEB 710 6055-02b

Structure of data record 2: Read response

Byte
0
Data record number of last "WR_REC" job
1
Response of last "WR_REC" job
DP/ASi Link to S7
Contents
Action
–––
–––
Input error; enter correct value
–––
–––
–––
–––
Input error; enter correct value
–––
–––
Input error; enter correct value
Input error; enter correct value
Input error; enter correct value
Correct number of bytes
Repeat job
Input error; enter correct argument
Wait until the DP master is in Operating mode
Check configuration
6-5

Advertisement

Table of Contents
loading

Table of Contents