ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Acyclic services for Profibus DPV1
Acyclic command in the DPV1 command channel
345
E type
slave fu
data structure
5 bits
characterises the slave as regards functionality and data structure
00 = reserved
01 = transmitted values are measured values
02 = transmitted values are 16 digital bit values
03 = normal operation in 4-bit mode (4I/4O)
04...1F
hex
= 04...31
dec
= reserved
number of parameter
bytes to be read
1 byte
number of bytes which can be read as parameter string
00 = no parameter string readable
01...DB
hex
= 01...219
dec
= number of bytes
Diag
slave supports the 7.4
diagnosis string
1 bit
0 = diagnosis string is not supported
1 = diagnosis string is supported
EDT read
reserved
3 bits
reserved for later profiles
EDT write
reserved
3 bits
reserved for later profiles
number of parameter
bytes to be written
1 byte
number of bytes which can be written as parameter string
00 = no parameter string readable
01...DB
hex
= 01...219
dec
= number of bytes
manufacturer
identification
1 byte
defined manufacturer number assigned by AS-International
device-specific
information
1 byte
as an option more bytes for the manufacturer-specific device description
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
Response from device to fieldbus master in case of a fault
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
reflected user ID
Command status (
→
page
) = 6B
hex
2
reserved = 0
reflected command number
3
reserved = 0
error code
4...19
not changed*)
not changed*)
Possible error codes:
Value [hex.]
Meaning
0C
faulty S-7.4 protocol sequence
0D
S-7.4 protocol aborted (timeout)
0E
invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves)
0F
AS-i slave has completed the S-7.4 string
10
AS-i S-7.4 no longer connected (no longer in LAS)
11
another S-7.4 transfer to the addressed AS-i slave is already active
12
the previous segmented S-7.4 transfer was not yet completed
13
invalid S-7.4 data length
14
invalid S-7.4 command