116
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
Name
Data type
Description
Possible values
LDS_SA_Slave
DWORD
List of the active S/A slaves
Each bit represents an AS-i address:
0 = no slave active
1 = slave active
→
DS9 – Slave lists LAS, LDS, LPF, LCE
,
words 4...7
LDS_B_Slave
DWORD
List of active B slaves
LAS_SA_Slave
DWORD
List of active S/A slaves
Each bit represents an AS-i address:
0 = no active slave
1 =active slave
→
DS9 – Slave lists LAS, LDS, LPF, LCE
, words
0...3
LAS_B_Slave
DWORD
List of active B slaves
LPF_SA_Slave
DWORD
List of peripheral faults (S/A slaves) Each bit represents an AS-i address:
0 = no peripheral fault
1 = peripheral fault
→
DS9 – Slave lists LAS, LDS, LPF, LCE
,
words 8...11
LPF_B_Slave
DWORD
List of peripheral faults (B slaves)
LCE_SA_Slave
DWORD
List with configuration errors (S/A
slaves)
Each bit represents an AS-i address:
0 = no configuration error
1 = configuration error
→
DS9 – Slave lists LAS, LDS, LPF, LCE
,
words 12...15
LCE_B_Slave
DWORD
List with configuration errors (B
slaves)
LPS_SA_Slave
DWORD
List of projected S/A slaves
Each bit represents an AS-i address:
0 = no projected slave
1 = projected slave
→
DS10 – Slave list LPS
LPS_B_Slave
DWORD
List of active B slaves
LCEMS_SA_Slave
DWORD
List of configuration errors:
projected, but missing S/A slave
Each bit represents an AS-i address:
0 = no configuration error
1 = configuration error
→
DS17 – AS-i master: Error lists LCEMS,
LCEAS, LDAE
, words 0...3
LCEMS_B_Slave
DWORD
List of configuration errors:
projected, but missing B slave
LCEAS_SA_Slave
DWORD
List of configuration errors:
additional S/A slave
Each bit represents an AS-i address:
0 = no error
1 = error
→
DS17 – AS-i master: Error lists LCEMS,
LCEAS, LDAE
, words 4...7
LCEAS_B_Slave
DWORD
List of configuration errors:
additional B slave
LDAE_SA_Slave
DWORD
List of double address errors (S/A
slaves)
Each bit represents an AS-i address:
0 = no double address error
1 = double address error
→
DS17 – AS-i master: Error lists LCEMS,
LCEAS, LDAE
, words 8...11
LDAE_B_Slave
DWORD
List of double address errors (B
slaves)
CDI
ARRAY[0..63]
OF WORD
Image of the current configuration
data
(CDI = Configuration Data Image)
One word is available per slave:
Bits 0...3 = IO code
Bits 4...7 = ID code
Bits 8...11 = Extended ID1 code
Bits 12...15 = Extended ID2 code
→
DS11 – Actual configuration data (CDI)