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
347
12.8.11
Acyclic command 25 (19hex) – set AS-i master test mode
5876
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
reserved = 0
command number = 25
dec
= 19
hex
3
SZ
MOD
4
loops
5...17
PS
—
ST
SLA
reserved = 0
Data
18
not
used
DLen
19
not used
not used
Legend:
UID
user ID
1 byte
00…FF
hex
= 0…255
dec
SZ
sequence size
1 byte
size of the request sequence
permitted values = 1...121
dez
(01...79
hex
)
MOD
test mode
1 byte
00 = test mode 0: master passes the offline phase and returns to the
normal operating mode.
01 = test mode 1: only available after power ON: if CPTE input = 0, the
master permanently transmits "write parameter" to slave 15
02 = test mode 2: as in normal operation, however, slaves which have not
responded 6 successive times are not deleted from the LDS
03 = test mode 3: master changes to the management phase, remains in
this phase and accepts all known commands of the host system
IMPORTANT:
only call this command once, not cyclically!
04 = test mode 4: master transmits the defined data cyclically
IMPORTANT:
no AS-i error check possible!
loops
master sequence loops
1 word
quantity how often a master request sequence is repeated
permitted values = 0001
16
… FFFF
16
FFFF
16
= unlimited repetition
PS
parameter request
1 bit
send command as data exchange / write parameter
0 = Data_Exchange Request (I4=0)
1 = Write_Parameter Request (I4=1)
SLA
slave address
5 bits
00…1F
hex
= 0…31
dec
Data
slave data
4 bits
only for test mode 4:
slave output data
DLen
data length
1 byte
01
hex