![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-ac1375/ecomat-300-ac1375_device-manual_3912477242.webp)
ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 12: extended command channel
Commands in the extended command channel
242
11.3.11
Module 12, extended command 25 (19hex) – set AS-i
master test mode
5726
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
res. = 0
M
UID
command number = 25
dec
= 19
hex
2
reserved = 0
reserved = 0
3
SZ
MOD
4
loops
5...17
PS
—
ST
SLA
reserved = 0
Data
18
not
used
DLen
Legend:
M
master no.
1 bit
0 = master 1
1 = master 2
UID
user ID
5 bits
00…1F
hex
= 0…31
dec
(a change to the user ID starts the command call)
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