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
344
12.8.10
Acyclic command 21 (15hex) – read 7.4 ID of an AS-i slave
5874
Request from fieldbus master to device
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
UID
command request = 65
hex
2
res. = 0
ST
SLA
command number = 21
dec
= 15
hex
3...19
not used
not used
Legend:
UID
user ID
1 byte
00…FF
hex
= 0…255
dec
ST
slave type
1 bit
0 = single slave or A slave
1 = B slave (= addition of 20
hex
or 32
dec
to the slave address)
SLA
slave address
5 bits
00…1F
hex
= 0…31
dec
Response from device to fieldbus master in the normal case
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
) = 6F
hex
2
TG
S
reflected slave address
F=0
reflected command number
3
I/O
2D
DT-Start
DT-Count
Mux field
E type
4
number of parameter bytes to be read
EDT read
res. = 0
Diag
res. = 0
5
EDT write
reserved = 0
number of parameter bytes to be written
6
device-specific
information manufacturer
identification
7...16
device-specific
information
device-specific information
17
reserved = 0
number of bytes received
18...19
not changed*)
not changed*)
Legend:
TG
toggle bit
1 bit
value changes for each execution of the command
S
sequence bit
1 bit
a large data packet is transmitted in several partial sequences:
0 = data transmission completed
1 = data transmission not yet completed, at least one more packet follows
F
error bit
1 bit
0 = no error detected
1 = error when executing the command
I/O
direction of data
1 bit
direction of data for the devices with E type
3
0 = input
1 = output
2D
double data transfer
1 bit
double data transfer (redundancy) possible
0 = simple data transfer
1 = double data transfer
DT-Start
start triple
3 bits
(information for the driver in the master)
DT-Count
number of data triples
3 bits
(information for the driver in the master)
Mux field
number of multiplexed
data words
3 bits
0…3
number = value in "Mux field" +1