14
ifm
Device Manual Supplement: Acyclic data records and Command interface (AC14 and AC4S)
2017 / 09
Acyclic data records
>
3.3.2
Execution control flags
7161
The execution control flags provide information about the execution control of the AS-i master. The
flags are updated by the AS-i master immediately after each change.
The execution control flags are saved in the following register:
Execution control flags
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
–
NOPF CCOK
PE
–
DEA
AAE
POK
OR
APF
NOA
CA
AA
AN
S0
COK
Legend:
Flag
Designation
Description
Initial value at power-on
COK
Config_OK
1 (TRUE):
The configuration of all AS-i slaves on the
network corresponds to the projection
data (CDI=PCD for all activated slaves)
&& (LDS=LPS=LAS)
Exception:
Flag APF = 1 and LPS = empty, then
COK = 1
0 (FALSE)
S0
LDS.0
1 (TRUE):
Slave with address 0 found
0 (FALSE)
AN
Auto_Address_Assign
1 (TRUE):
Auto addressing possible
(protected mode = active && auto
addressing = active && PCD = CDI &&
LDS <=
LPS)
0 (FALSE)
AA
Auto_Address_Available
1 (TRUE):
All the necessary conditions for auto
addressing are fulfilled. The master waits
for slave 0.
0 (FALSE)
CA
Configuration_Active
0 (FALSE):
1 (TRUE):
Master in protected mode
Master in projection mode
0 (FALSE)
NOA
Normal_Operation_Active
1 (TRUE):
Master is in the normal mode
(The AS-i master has communicated with
at least one slave since the last offline
phase. Even if the slave disappears after
this, the signal will remain set.)
0 (FALSE)
APF
Asi_Power_Fail
0 (FALSE):
1 (TRUE):
AS-i voltage OK
AS-i voltage too low
1 (TRUE)
OR
Offline_Ready
1 (TRUE):
Master has gone through the offline
phase and waits for:
APF = 0 and a timeout of 1s
0 (FALSE)
POK
Periphery_OK
1 (TRUE):
No peripheral faults present, all bits of
LPF = 0.
0 (FALSE)
AAE
Auto_Address_Enable
1 (TRUE):
Auto addressing switched on
(Echo of Set_Auto_Address_Enable of
host)
0 (FALSE)
DEA
Data_Exchange_Active
1 (TRUE):
Data exchange between master and
slaves activated (reflects DEA of host
flags)
1 (TRUE)
0 (FALSE):
Instead of the data exchange, ReadID is
continually executed on the slaves.
PE
Protocol Error
1 (TRUE):
0 (FALSE):
CTT protocol error
No CTT protocol error
0 (FALSE)