117
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
Name
Data type
Description
Possible values
PCD
ARRAY[0..63]
OF WORD
Image of the projected
configuration data
(PCD = Projected Configuration
Data)
Each word contains data of one slave:
Bits 0...3 = IO
Bits 4...7 = ID
Bits 8...11 = ID1
Bits 12...15 = ID2
→
DS12 – Projected configuration data (PCD)
InputParam_SA_Slave
ARRAY[0..31]
OF BYTE
Input parameters of the S/A slaves Each byte contains parameters of one S/A
slave:
Bits 0...3 = P0-P3
Bits 4...7 = reserved
→
DS13 – Image of the input parameters of the
slaves (PI)
, words 0...15
InputParam_B_Slave
ARRAY[0..31]
OF BYTE
Input parameters of the B slaves
Each byte contains parameters of one B
slave:
Bits 0...3 = P0-P3
Bits 4...7 = reserved
→
DS13 – Image of the input parameters of the
slaves (PI)
, words 16...31
OutputParam_SA_Slave ARRAY[0..31]
OF BYTE
Output parameters of the S/A
slaves
Each byte contains parameters of one S/A
slave:
Bits 0...3 = P0-P3
Bits 4...7 = reserved
→
DS14 – Image of the output parameters of the
slaves (PP)
, words 0...15
OutputParam_B_Slave
ARRAY[0..31]
OF BYTE
Output parameters of the B slaves
Each byte contains parameters of one B
slave:
Bits 0...3 = P0-P3
Bits 4...7 = reserved
→
DS14 – Image of the output parameters of the
slaves (PP)
, words 16...31
>
ASI_NET (STRUCT)
15993
The structure contains the complete process image (inputs and outputs) of an AS-i network.
Name
Data type
Description
Possible values
binIO
ASI_BIN_IO
Binary input and output data
→
ASI_BIN_IO (STRUCT)
(
→ p.
anaIO
ASI_ANA_IO
Analogue input and output data
→
ASI_ANA_IO (STRUCT)
(
→ p.
-
>
ASI_BIN_IO (STRUCT)
16002
The structure contains the process data of the digital input and output slaves:
Name
Data type
Description
Possible values
bin_IN_Slaves
ASI_BIN_IN
Input data of the digital AS-i slaves
→
ASI_BIN_IN (STRUCT)
(
→ p.
bin_OUT_Slaves
ASI_BIN_OUT
Output data of the digital AS-i
slaves
→-
ASI_BIN_OUT (STRUCT)
(
→ p.