EasyManua.ls Logo

IFM AC1421 - Page 128

IFM AC1421
131 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
128
ifm Programming Manual AS-i Gateway AC14 (4.2.x) 12/2017
Appendix Library ACnnnn_SYS_CMD.library
>
Example: Read LCEMS, LCEAS and LDAE of AS-i master 2
17424
Task: Read the error lists LCEMS, LCEAS and LDAE of the AS-i master 2 with the FB
ACnnnn_SysCmd.
Command type: acyclic data set
Input parameters of the FB:
Parameter
Value
Declaration
uCommandID
0x0011
Corresponding acyclic data set:
DS17 AS-i master: Error lists LCEMS, LCEAS, LDAE ( device manual supplement)
uTarget
1
Master command (1 = AS-i master 2))
pDataIn
--
irrelevant
uSizeIn
--
irrelevant
pDataOut
arDataOut
Variable of the data type Array of Words
contains the return values
uSizeOut
0x000C
Array consists of 12 lines since the data set DS17 has exactly 12 words
Content of arDataOut:
Word no.
Content
1 ... 4
LCEMS (list of configuration errors - missing slaves)
5 ... 8
LCEAS (list of configuration errors - additional slaves)
9 ... 12
LDAE (list of double address errors)

Table of Contents

Related product manuals