SmartPLC SafeLine AC4S with fieldbus interfaces
162
>
Output parameters
42609
Parameter
Data type
Description
Possible values
xActive
BOOL
Signal confirms the FB execution
FALSE
Function block is inactive
TRUE
FB is active (=is executed)
wCycleCount
WORD
Counter for FB cycles that were fully
run through
Number in hexadecimal representation
xError
BOOL
Signal indicates whether errors
occurred while the FB was executed.
FALSE
FB is disabled or is being
executed or FB was executed
without error.
TRUE
An error occurred while the FB
was executed.
wDiagnostic
WORD
Diagnostic information
→ List below (Diagnostic codes)
Diagnostic codes:
0x0000
No specific error is set
0xnF01
Unknown error
1
0xnF02
Unknown/invalid target
1
0xnF03
Unknown command ID
1
0xnF04
Unknown parameters
1
0xnF05
Timeout during processing
1
Legend:
1
Get_ASi_Data executes the FB ACnnnn_SysCmd sequentially with different command IDs in order to determine the individual
elements of the complex variable. In the returned error code, the nibble n indicates the command request where the error
occurred. n can have the following values:
1 = error with "Get LAS, LDA, LPF, LCE"
2 = error with "Get LPS"
3 = error with "Get CDI"
4 = error with "Get PCD"
5 = error with "Get Input Parameter"
6 = error with "Get Output Parameter"
7 = error with "Get LCEMS, LCEAS, LDAE"