Item
Timing chart of
Normal
I/O signals
completion
Error
completion
2 DETAILS OF THE FB LIBRARY
32
2.5 M+ArrayHandling_Abs_R
Description
When i_udSize (number of data points) is 1000 points
ON
i_bEN
OFF
o_bENO
OFF
Calculating
Unexecuted
absolute value
o_udOutAryNum
0
o_bOK
OFF
o_bErr
OFF
o_uErrId
• Parameter error (error before execution)
ON
i_bEN
OFF
o_bENO
OFF
Calculating
absolute value
o_udOutAryNum
o_bOK
OFF
o_bErr
OFF
o_uErrId
0
• Single-precision real number format error (error during absolute value calculation)
ON
i_bEN
OFF
o_bENO
OFF
Calculating
Unexecuted
absolute value
o_udOutAryNum
0
o_bOK
OFF
o_bErr
OFF
o_uErrId
• When i_bEN (execution command) is turned off during execution
ON
i_bEN
OFF
o_bENO
OFF
Calculating
Unexecuted
absolute value
o_udOutAryNum
0
o_bOK
OFF
o_bErr
OFF
o_uErrId
ON
Executing
1
2
999
ON
0
ON
Unexecuted
0
ON
Error code
ON
Executing
1
2
789
Format error
ON
0
ON
Executing
1
2
567
ON
0
Unexecuted
1000
0
0
Unexecuted
0
200H
0
Unexecuted
0
205H
0