IFM Electronic AC402S Programming Manual page 186

Smartplc safeline ac4s with fieldbus interfaces
Table of Contents

Advertisement

SmartPLC SafeLine AC4S with fieldbus interfaces
>
Example: Read LCEMS, LCEAS and LDAE of AS-i Master 2
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
uCommandID
0x0011
uTarget
1
pDataIn
--
uSizeIn
--
pDataOut
arDataOut
uSizeOut
0x000C
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)
186
Declaration
Corresponding acyclic data set:
DS17 – AS-i Master: Fehlerlisten LCEMS, LCEAS, LDAE
supplement)
Master command (1 = AS-i Master 2))
irrelevant
irrelevant
Variable of the data type Array of Words
contains the return values
Array consists of 12 lines since the data set DS17 has exactly 12 words
42402
(→ device manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ac422sAc412sAc432s

Table of Contents