Function Blocks General Operation
General operation of all Function Blocks is as follows:
SPEL_Init must have been executed one time successfully before executing other Function Blocks.
Set the Start input from low to high to start execution.
During execution, the Done and Error output bits are set to low and the InCycle output bit is set to high.
After execution, the Done output bit is set to high and the InCycle output bit is set to low. If an error occurred during execution, the Error output bit is set to high, and the error code values ErrCode1 and ErrCode2 are set. For more details, refer to the following:
If an error occurs, Function Blocks execution is prevented until the SPEL_ResetError Function Block is executed.