EasyManua.ls Logo

IFM AC1421 - Page 34

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...
34
ifm Programming Manual AS-i Gateway AC14 (4.2.x) 12/2017
Programming Use functions of the ifm package
1
xExecute = TRUE:
xBusy = TRUE:
Rising edge (FALSE TRUE) starts execution of the FB.
FB execution has been started, but has not yet been completed.
2
xReady = TRUE:
xBusy = FALSE:
xError = FALSE:
FB execution completed; there are valid values on the data outputs.
FB is no longer active.
FB execution without faults.
3
xExecute = FALSE:
All signal outputs are set to FALSE and all internal states are reset.
4
1
5
xReady = TRUE:
xBusy = FALSE:
xError = TRUE:
FB execution is terminated.
FB is no longer active.
Errors occurred during FB execution; wDiagnostic provides error code.
6
3
7
1
8
xExecute = FALSE:
FB execution interrupted prior to completion; All signal outputs are set to FALSE and all
internal states are reset.
>
FB with cyclic execution
17141
Function blocks which, when activated, cyclically perform their function until they are deactivated have
the following control inputs and outputs:
Designation
Type
Data type
Description
Possible values
xEnable
Input
BOOL
Control FB execution
FALSE
Stop FB execution
TRUE
Start FB execution
xActive
Output
BOOL
Indication of whether execution of
the FB has been completed
FALSE
FB execution not yet completed
TRUE
FB execution completed
xError
Output
BOOL
Indication of whether faults have
occurred during execution of the
FB
FALSE
FB executed correctly
TRUE
Error occurred during execution of
the FB
wCycleCount
Output
WORD
Counters for the FB cycles
Integer value (hexadecimal representation)
wDiagnostic
Output
WORD
Error code
FB specific

Table of Contents

Related product manuals